Fixed output for start and TaipanShop GUI
This commit is contained in:
@@ -160,7 +160,7 @@ public class StartGUI {
|
|||||||
*/
|
*/
|
||||||
authors.setPrefHeight(80.0);
|
authors.setPrefHeight(80.0);
|
||||||
authors.setPrefWidth(499.0);
|
authors.setPrefWidth(499.0);
|
||||||
authors.setText("By Vikram Bawa, Haris Muhammad, Siddhant Dewani, Nathan Lum and Harkamal Randhawa");
|
authors.setText("By Vikram Bawa, Haris Muhammad, Siddhant Dewani, Nathan Lum \nand Harkamal Randhawa");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Puts Vbox0 in the center of the borderpane.
|
* Puts Vbox0 in the center of the borderpane.
|
||||||
|
|||||||
@@ -516,10 +516,10 @@ public class TaipanShopGUI {
|
|||||||
});
|
});
|
||||||
bankButton.setMnemonicParsing(false);
|
bankButton.setMnemonicParsing(false);
|
||||||
bankButton.setPrefWidth(74.0);
|
bankButton.setPrefWidth(74.0);
|
||||||
bankButton.setText("Visit Bank");
|
bankButton.setText("Bank");
|
||||||
|
|
||||||
cargoButton.setPrefHeight(25.0);
|
cargoButton.setPrefHeight(25.0);
|
||||||
cargoButton.setText("Transfer Cargo");
|
cargoButton.setText("Transfer");
|
||||||
cargoButton.setMnemonicParsing(false);
|
cargoButton.setMnemonicParsing(false);
|
||||||
cargoButton.setPrefWidth(94.0);
|
cargoButton.setPrefWidth(94.0);
|
||||||
// warehouse is entered when the warehouse button is clicked.
|
// warehouse is entered when the warehouse button is clicked.
|
||||||
@@ -545,12 +545,12 @@ public class TaipanShopGUI {
|
|||||||
stage.show();
|
stage.show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
loanButton.setText("Get Loans");
|
loanButton.setText("Loans");
|
||||||
|
|
||||||
quitButton.setPrefHeight(25.0);
|
quitButton.setPrefHeight(25.0);
|
||||||
quitButton.setMnemonicParsing(false);
|
quitButton.setMnemonicParsing(false);
|
||||||
quitButton.setPrefWidth(90.0);
|
quitButton.setPrefWidth(90.0);
|
||||||
quitButton.setText("Quit Trading");
|
quitButton.setText("Quit");
|
||||||
// the user is free to travel once the quit button is clicked.
|
// the user is free to travel once the quit button is clicked.
|
||||||
quitButton.setOnAction(new EventHandler<ActionEvent>() {
|
quitButton.setOnAction(new EventHandler<ActionEvent>() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user