Updated readme
This commit is contained in:
parent
f2678826f6
commit
73de2c1775
|
@ -55,10 +55,9 @@ The test application is under text, and a *simple* example is as follows:
|
||||||
System.load("Path to OS specific JNA jar");
|
System.load("Path to OS specific JNA jar");
|
||||||
|
|
||||||
|
|
||||||
this.systemTray = SystemTray.create("Dorkbox");
|
this.systemTray = SystemTray.create("grey_icon.png");
|
||||||
|
|
||||||
this.systemTray.createTray("grey_icon.png");
|
this.systemTray.setStatus("Not Running");
|
||||||
this.systemTray.setStatus("Not Running", "grey_icon.png");
|
|
||||||
|
|
||||||
this.systemTray.addMenuEntry("Quit", new SystemTrayMenuAction() {
|
this.systemTray.addMenuEntry("Quit", new SystemTrayMenuAction() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user