diff --git a/src/main/java/ch/zhaw/gartenverwaltung/MainFXMLController.java b/src/main/java/ch/zhaw/gartenverwaltung/MainFXMLController.java index cc2ffb7..e351902 100644 --- a/src/main/java/ch/zhaw/gartenverwaltung/MainFXMLController.java +++ b/src/main/java/ch/zhaw/gartenverwaltung/MainFXMLController.java @@ -56,7 +56,6 @@ public class MainFXMLController { @FXML void goToHome() { showPaneAsMainView("Home.fxml"); - styleChangeButton(home_button); } /** @@ -65,7 +64,6 @@ public class MainFXMLController { @FXML void goToMyPlants() { showPaneAsMainView("MyGarden.fxml"); - styleChangeButton(myGarden_button); } /** @@ -74,7 +72,6 @@ public class MainFXMLController { @FXML void goToMySchedule() { showPaneAsMainView("MySchedule.fxml"); - styleChangeButton(mySchedule_button); } /** @@ -160,15 +157,6 @@ public class MainFXMLController { appLoader.loadAndCacheFxml("Plants.fxml"); } - private void styleChangeButton(Button button) { - /*home_button.setStyle("-fx-background-color: rgb(0,128,0)"); - myGarden_button.setStyle("-fx-background-color: rgb(0,128,0)"); - mySchedule_button.setStyle("-fx-background-color: rgb(0,128,0)"); - settings_button.setStyle("-fx-background-color: rgb(0,128,0)"); - tutorial_button.setStyle("-fx-background-color: rgb(0,128,0)"); - button.setStyle("-fx-background-color: darkgreen");*/ - } - /** * loads the default FXML File * {@inheritDoc} @@ -179,7 +167,6 @@ public class MainFXMLController { try { preloadPanes(); showPaneAsMainView("MyGarden.fxml"); - styleChangeButton(myGarden_button); } catch (IOException e) { LOG.log(Level.SEVERE, "Failed to load FXML-Pane!", e); }