Example usage for Java java.awt SystemTray fields, constructors, methods, implement or subclass
The text is from its open source code.
void | add(TrayIcon trayIcon) Adds a TrayIcon to the SystemTray . |
void | addPropertyChangeListener(String propertyName, PropertyChangeListener listener) Adds a PropertyChangeListener to the list of listeners for the specific property. |
PropertyChangeListener[] | getPropertyChangeListeners(String propertyName) Returns an array of all the listeners that have been associated with the named property. |
SystemTray | getSystemTray() Gets the SystemTray instance that represents the desktop's tray area. |
TrayIcon[] | getTrayIcons() Returns an array of all icons added to the tray by this application. |
Dimension | getTrayIconSize() Returns the size, in pixels, of the space that a tray icon will occupy in the system tray. |
boolean | isSupported() Returns whether the system tray is supported on the current platform. |
void | remove(TrayIcon trayIcon) Removes the specified TrayIcon from the SystemTray . |
void | removePropertyChangeListener(String propertyName, PropertyChangeListener listener) Removes a PropertyChangeListener from the listener list for a specific property. |