Commented out test code from the examples
This commit is contained in:
parent
03b7cdbcb7
commit
1e21d305be
|
@ -28,7 +28,6 @@ import dorkbox.systemTray.Separator;
|
||||||
import dorkbox.systemTray.SystemTray;
|
import dorkbox.systemTray.SystemTray;
|
||||||
import dorkbox.util.CacheUtil;
|
import dorkbox.util.CacheUtil;
|
||||||
import dorkbox.util.Desktop;
|
import dorkbox.util.Desktop;
|
||||||
import dorkbox.util.SwingUtil;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Icons from 'SJJB Icons', public domain/CC0 icon set
|
* Icons from 'SJJB Icons', public domain/CC0 icon set
|
||||||
|
@ -62,7 +61,7 @@ class TestTray {
|
||||||
TestTray() {
|
TestTray() {
|
||||||
CacheUtil.clear(); // for test apps, make sure the cache is always reset. You should never do this in production.
|
CacheUtil.clear(); // for test apps, make sure the cache is always reset. You should never do this in production.
|
||||||
|
|
||||||
SwingUtil.setLookAndFeel(null); // set Native L&F (this is the System L&F instead of CrossPlatform L&F)
|
// SwingUtil.setLookAndFeel(null); // set Native L&F (this is the System L&F instead of CrossPlatform L&F)
|
||||||
// SystemTray.SWING_UI = new CustomSwingUI();
|
// SystemTray.SWING_UI = new CustomSwingUI();
|
||||||
|
|
||||||
this.systemTray = SystemTray.get();
|
this.systemTray = SystemTray.get();
|
||||||
|
|
|
@ -29,7 +29,6 @@ import dorkbox.util.CacheUtil;
|
||||||
import dorkbox.util.Desktop;
|
import dorkbox.util.Desktop;
|
||||||
import dorkbox.util.JavaFX;
|
import dorkbox.util.JavaFX;
|
||||||
import dorkbox.util.OS;
|
import dorkbox.util.OS;
|
||||||
import dorkbox.util.SwingUtil;
|
|
||||||
import javafx.application.Application;
|
import javafx.application.Application;
|
||||||
import javafx.application.Platform;
|
import javafx.application.Platform;
|
||||||
import javafx.event.ActionEvent;
|
import javafx.event.ActionEvent;
|
||||||
|
@ -124,7 +123,7 @@ class TestTrayJavaFX {
|
||||||
|
|
||||||
CacheUtil.clear(); // for test apps, make sure the cache is always reset. You should never do this in production.
|
CacheUtil.clear(); // for test apps, make sure the cache is always reset. You should never do this in production.
|
||||||
|
|
||||||
SwingUtil.setLookAndFeel(null); // set Native L&F (this is the System L&F instead of CrossPlatform L&F)
|
// SwingUtil.setLookAndFeel(null); // set Native L&F (this is the System L&F instead of CrossPlatform L&F)
|
||||||
// SystemTray.SWING_UI = new CustomSwingUI();
|
// SystemTray.SWING_UI = new CustomSwingUI();
|
||||||
|
|
||||||
this.systemTray = SystemTray.get();
|
this.systemTray = SystemTray.get();
|
||||||
|
|
|
@ -33,7 +33,6 @@ import dorkbox.systemTray.Separator;
|
||||||
import dorkbox.systemTray.SystemTray;
|
import dorkbox.systemTray.SystemTray;
|
||||||
import dorkbox.util.CacheUtil;
|
import dorkbox.util.CacheUtil;
|
||||||
import dorkbox.util.Desktop;
|
import dorkbox.util.Desktop;
|
||||||
import dorkbox.util.SwingUtil;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Icons from 'SJJB Icons', public domain/CC0 icon set
|
* Icons from 'SJJB Icons', public domain/CC0 icon set
|
||||||
|
@ -78,7 +77,7 @@ class TestTraySwt {
|
||||||
|
|
||||||
CacheUtil.clear(); // for test apps, make sure the cache is always reset. You should never do this in production.
|
CacheUtil.clear(); // for test apps, make sure the cache is always reset. You should never do this in production.
|
||||||
|
|
||||||
SwingUtil.setLookAndFeel(null); // set Native L&F (this is the System L&F instead of CrossPlatform L&F)
|
// SwingUtil.setLookAndFeel(null); // set Native L&F (this is the System L&F instead of CrossPlatform L&F)
|
||||||
// SystemTray.SWING_UI = new CustomSwingUI();
|
// SystemTray.SWING_UI = new CustomSwingUI();
|
||||||
|
|
||||||
this.systemTray = SystemTray.get();
|
this.systemTray = SystemTray.get();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user