diff --git a/src/dorkbox/systemTray/SystemTray.java b/src/dorkbox/systemTray/SystemTray.java index c5fb8ab..96d158d 100644 --- a/src/dorkbox/systemTray/SystemTray.java +++ b/src/dorkbox/systemTray/SystemTray.java @@ -397,8 +397,6 @@ class SystemTray { return; } - systemTray = new SystemTray(); - // if (DEBUG) { // Properties properties = System.getProperties(); // for (Map.Entry entry : properties.entrySet()) { @@ -899,6 +897,7 @@ class SystemTray { // javaFX and SWT **CAN NOT** start on the EDT!! // linux + GTK/AppIndicator menus must not start on the EDT! + systemTray = new SystemTray(); // AWT/Swing must be constructed on the EDT however... if (JavaFX.isLoaded || Swt.isLoaded ||