Cleaned up examples
This commit is contained in:
parent
3fe57cd10d
commit
146afbf949
@ -56,7 +56,8 @@ class TestTray {
|
|||||||
|
|
||||||
public
|
public
|
||||||
TestTray() {
|
TestTray() {
|
||||||
this.systemTray = SystemTray.getNative();
|
this.systemTray = SystemTray.get();
|
||||||
|
// this.systemTray = SystemTray.getNative();
|
||||||
if (systemTray == null) {
|
if (systemTray == null) {
|
||||||
throw new RuntimeException("Unable to load SystemTray!");
|
throw new RuntimeException("Unable to load SystemTray!");
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,6 @@ class TestTrayJavaFX extends Application {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private SystemTray systemTray;
|
private SystemTray systemTray;
|
||||||
private ActionListener callbackGreen;
|
|
||||||
private ActionListener callbackGray;
|
private ActionListener callbackGray;
|
||||||
|
|
||||||
public
|
public
|
||||||
@ -90,6 +89,7 @@ class TestTrayJavaFX extends Application {
|
|||||||
|
|
||||||
|
|
||||||
this.systemTray = SystemTray.get();
|
this.systemTray = SystemTray.get();
|
||||||
|
// this.systemTray = SystemTray.getNative();
|
||||||
if (systemTray == null) {
|
if (systemTray == null) {
|
||||||
throw new RuntimeException("Unable to load SystemTray!");
|
throw new RuntimeException("Unable to load SystemTray!");
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,6 @@ class TestTraySwt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private SystemTray systemTray;
|
private SystemTray systemTray;
|
||||||
private ActionListener callbackGreen;
|
|
||||||
private ActionListener callbackGray;
|
private ActionListener callbackGray;
|
||||||
|
|
||||||
public
|
public
|
||||||
@ -75,6 +74,7 @@ class TestTraySwt {
|
|||||||
|
|
||||||
|
|
||||||
this.systemTray = SystemTray.get();
|
this.systemTray = SystemTray.get();
|
||||||
|
// this.systemTray = SystemTray.getNative();
|
||||||
if (systemTray == null) {
|
if (systemTray == null) {
|
||||||
throw new RuntimeException("Unable to load SystemTray!");
|
throw new RuntimeException("Unable to load SystemTray!");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user