Code cleanup

This commit is contained in:
nathan 2016-09-22 21:45:53 +02:00
parent fc54a938c0
commit a4bad80479
1 changed files with 6 additions and 5 deletions

View File

@ -16,15 +16,16 @@
package dorkbox;
import dorkbox.systemTray.MenuEntry;
import dorkbox.systemTray.SystemTray;
import dorkbox.systemTray.SystemTrayMenuAction;
import java.net.URL;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
import java.net.URL;
import dorkbox.systemTray.MenuEntry;
import dorkbox.systemTray.SystemTray;
import dorkbox.systemTray.SystemTrayMenuAction;
/**
* Icons from 'SJJB Icons', public domain/CC0 icon set
@ -41,7 +42,7 @@ class TestTraySwt {
public static
void main(String[] args) {
// make sure JNA jar is on the classpath!
System.setProperty("SWT_GTK3", "0"); // Necessary for us to work with SWT
System.setProperty("SWT_GTK3", "0"); // Can change between GTK2 and GTK3
new TestTraySwt();
}