diff --git a/client/src/main/java/ctbrec/ui/controls/PopoverTreeList.java b/client/src/main/java/ctbrec/ui/controls/PopoverTreeList.java index 01f6aac1..c914ba51 100644 --- a/client/src/main/java/ctbrec/ui/controls/PopoverTreeList.java +++ b/client/src/main/java/ctbrec/ui/controls/PopoverTreeList.java @@ -32,11 +32,8 @@ package ctbrec.ui.controls; import javafx.event.EventHandler; -import javafx.geometry.Bounds; import javafx.scene.control.ListCell; import javafx.scene.control.ListView; -import javafx.scene.image.Image; -import javafx.scene.image.ImageView; import javafx.scene.input.MouseEvent; import javafx.util.Callback; @@ -48,8 +45,6 @@ import javafx.util.Callback; * (it is the Control, the Skin, and the CellFactory all in one). */ public class PopoverTreeList extends ListView implements Callback, ListCell> { - protected static final Image RIGHT_ARROW = new Image( - PopoverTreeList.class.getResource("/popover-arrow.png").toExternalForm()); public PopoverTreeList(){ getStyleClass().clear(); @@ -63,8 +58,6 @@ public class PopoverTreeList extends ListView implements Callback implements EventHandler { - private ImageView arrow = new ImageView(RIGHT_ARROW); - private TreeItemListCell() { super(); getStyleClass().setAll("popover-tree-list-cell"); @@ -83,18 +76,6 @@ public class PopoverTreeList extends ListView implements Callback extends ListView implements Callback