Skip to content
Snippets Groups Projects
Commit dd03d354 authored by Harry Linrui XU's avatar Harry Linrui XU
Browse files

Removed returnToStartMenuBtn. Created a thread through all scenes up till main menu

parent a1e91661
No related branches found
No related tags found
1 merge request!43Merging frontend-testing into master
......@@ -35,6 +35,7 @@ public class FileHandlingBudget {
//try (BufferedWriter bw = new BufferedWriter(new FileWriter(filePath + fileTitle + fileType))) {
bw.write(generalBudget.toString());
} catch (IOException ex) {
ex.printStackTrace();
throw new IOException("Error writing to file: " + fileTitle);
}
}
......
......@@ -56,7 +56,6 @@
<Font name="Lucida Console" size="14.0" />
</font>
</Button>
<Button fx:id="returnBtn" disable="true" layoutX="150.0" layoutY="104.0" mnemonicParsing="false" onAction="#switchScene" opacity="0.0" text="Button" />
</children>
</Pane>
</left>
......
......@@ -84,11 +84,6 @@
</StackPane>
<HBox alignment="CENTER_RIGHT" GridPane.columnIndex="1" GridPane.rowIndex="2">
<children>
<Button fx:id="backBtn" mnemonicParsing="false" onAction="#switchScene" prefWidth="100.0" text="Back">
<font>
<Font size="14.0" />
</font>
</Button>
<Button fx:id="continueBtn" mnemonicParsing="false" onAction="#switchScene" prefWidth="100.0" text="Continue">
<font>
<Font size="14.0" />
......@@ -192,11 +187,6 @@
<RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Button fx:id="returnToStartMenuBtn" alignment="CENTER" mnemonicParsing="false" onAction="#switchScene" text="Return to start">
<font>
<Font size="14.0" />
</font>
</Button>
<Label fx:id="title" text="Budget Setup" textAlignment="CENTER" GridPane.columnIndex="1">
<font>
<Font size="36.0" />
......@@ -213,7 +203,12 @@
<DatePicker fx:id="date" layoutX="3.0" layoutY="32.0" prefWidth="175.0" />
</children>
</Pane>
<Button fx:id="returnBtn" disable="true" mnemonicParsing="false" onAction="#switchScene" opacity="0.0" text="Button" />
<Button fx:id="returnToMainMenuBtn" disable="true" mnemonicParsing="false" onAction="#switchScene" opacity="0.0" text="Button" />
<Button fx:id="backBtn" mnemonicParsing="false" onAction="#switchScene" prefWidth="100.0" text="Go back">
<font>
<Font size="14.0" />
</font>
</Button>
</children>
</GridPane>
</children>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment