| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| Modifier and Type | Method and Description |
|---|---|
PopupMenu |
TrayIcon.getPopupMenu()
Returns the popup menu associated with this
TrayIcon.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Component.add(PopupMenu
Adds the specified popup menu to the component.
|
protected abstract java |
Toolkit.createPopupMenu(PopupMenu
Creates this toolkit's implementation of
PopupMenu using the specified peer interface.
|
void |
TrayIcon.setPopupMenu(PopupMenu
Sets the popup menu for this
TrayIcon.
|
| Constructor and Description | |
|---|---|
TrayIcon(Image
Creates a
TrayIcon with the specified image, tooltip and popup menu.
|