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

First menu switches to main menu

parent 3be96283
No related branches found
No related tags found
3 merge requests!43Merging frontend-testing into master,!38"Made progressbar dynamic in accordance to spending. Added balance field....,!37Made the sub progress bars respond to changes in expense
Pipeline #215866 passed
...@@ -33,7 +33,7 @@ public class SceneController { ...@@ -33,7 +33,7 @@ public class SceneController {
} }
public void switchIncome(ActionEvent event) throws IOException { public void switchIncome(ActionEvent event) throws IOException {
FXMLLoader loader = new FXMLLoader(SceneController.class.getResource("/view/IncomeAndExpenses.fxml")); FXMLLoader loader = new FXMLLoader(SceneController.class.getResource("/view/MainMenuNew.fxml"));
Parent root = loader.load(); Parent root = loader.load();
stage = (Stage)((Node)event.getSource()).getScene().getWindow(); stage = (Stage)((Node)event.getSource()).getScene().getWindow();
scene = new Scene(root); scene = new Scene(root);
......
...@@ -4,12 +4,6 @@ amount=12.0 ...@@ -4,12 +4,6 @@ amount=12.0
isRecurring=Not recurring isRecurring=Not recurring
category=CLOTHES category=CLOTHES
date=2023-03-11
description=1111
amount=121.0
isRecurring=Not recurring
category=OTHER
date=2023-03-26 date=2023-03-26
amount=200.0 amount=200.0
isRecurring=Not recurring isRecurring=Not recurring
......
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