diff --git a/java/org/contikios/cooja/GUI.java b/java/org/contikios/cooja/GUI.java index ac60e433a..eb6c1a838 100644 --- a/java/org/contikios/cooja/GUI.java +++ b/java/org/contikios/cooja/GUI.java @@ -173,7 +173,7 @@ public void endDraggingFrame(JComponent f) { } }); // Dragging windows on OS X leaves residue from the borders with FlatLaf, so avoid setting dragMode. - if (cooja.configuration.lookAndFeel() != LookAndFeel.FlatLaf) { + if (Cooja.configuration.lookAndFeel() != LookAndFeel.FlatLaf) { myDesktopPane.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE); } frame = new JFrame(WINDOW_TITLE);