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

Income switches to new budget window

parent 8b2872fb
No related branches found
No related tags found
8 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,!32Added input validation to add dialog boxes.,!30Redesigned scenes,!29Redesigned scenes,!28Redesigned scenes,!27Income switches to new budget window
Pipeline #214060 passed
...@@ -274,7 +274,7 @@ public class IncomeController { ...@@ -274,7 +274,7 @@ public class IncomeController {
} else if (event.getSource() == returnBtn) { } else if (event.getSource() == returnBtn) {
loader.setLocation(SceneController.class.getResource("/view/FirstMenu.fxml")); loader.setLocation(SceneController.class.getResource("/view/FirstMenu.fxml"));
} else if (event.getSource() == budgetBtn) { } else if (event.getSource() == budgetBtn) {
loader.setLocation(SceneController.class.getResource("/view/BudgetNew.fxml")); loader.setLocation(SceneController.class.getResource("/view/BudgetNewest.fxml"));
} }
Parent root = loader.load(); Parent root = loader.load();
Stage stage = (Stage) ((Node) event.getSource()).getScene().getWindow(); Stage stage = (Stage) ((Node) event.getSource()).getScene().getWindow();
......
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