Modifier | Constructor and Description |
---|---|
private |
NoSysTray() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
addIcon(java.awt.Image im,
java.lang.String tooltip,
java.awt.PopupMenu popup,
java.awt.event.ActionListener iconListener)
Adds an icon to the system tray.
|
boolean |
isSupported()
Indicates whether system tray functionality is available.
|
void |
removeIcon(java.lang.Object trayIcon)
Removes a previously-added icon from the tray.
|
getInstance
public boolean isSupported()
SysTray
isSupported
in class SysTray
public java.lang.Object addIcon(java.awt.Image im, java.lang.String tooltip, java.awt.PopupMenu popup, java.awt.event.ActionListener iconListener)
SysTray
public void removeIcon(java.lang.Object trayIcon)
SysTray
removeIcon
in class SysTray
trayIcon
- object obtained from a previous invocation of
addIcon