diff --git a/src/main/java/com/bib/essensbestellungsverwaltung/MenueController.java b/src/main/java/com/bib/essensbestellungsverwaltung/MenueController.java index c60e102..6ce335c 100644 --- a/src/main/java/com/bib/essensbestellungsverwaltung/MenueController.java +++ b/src/main/java/com/bib/essensbestellungsverwaltung/MenueController.java @@ -5,9 +5,6 @@ import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.Node; import javafx.scene.control.*; -import javafx.scene.input.MouseEvent; - -import java.util.HashMap; public class MenueController { @@ -90,12 +87,14 @@ public class MenueController { buttons = p.getChildrenUnmodifiable(); for(Node button : buttons){ - b.getStyleClass().remove("active"); System.out.println(b.getStyleClass()); + /* + b.getStyleClass().remove("active"); if (button.equals(b)){ b.getStyleClass().add("active");; } + */ } } }