Cleaned up test examples

This commit is contained in:
nathan 2017-02-26 00:09:52 +01:00
parent ee5f509e76
commit d263df78a6
3 changed files with 6 additions and 3 deletions

View File

@ -56,7 +56,8 @@ class TestTray {
public
TestTray() {
SystemTray.SWING_UI = new CustomSwingUI();
// SwingUtil.setLookAndFeel(null);
// SystemTray.SWING_UI = new CustomSwingUI();
this.systemTray = SystemTray.get();
if (systemTray == null) {

View File

@ -114,7 +114,8 @@ class TestTrayJavaFX {
primaryStage.show();
SystemTray.SWING_UI = new CustomSwingUI();
// SwingUtil.setLookAndFeel(null);
// SystemTray.SWING_UI = new CustomSwingUI();
this.systemTray = SystemTray.get();
if (systemTray == null) {

View File

@ -72,7 +72,8 @@ class TestTraySwt {
helloWorldTest.setText("Hello World SWT ................. ");
helloWorldTest.pack();
SystemTray.SWING_UI = new CustomSwingUI();
// SwingUtil.setLookAndFeel(null);
// SystemTray.SWING_UI = new CustomSwingUI();
this.systemTray = SystemTray.get();
if (systemTray == null) {