A DESCRIPTION OF THE REQUEST :
Tray icons in Mustang support showing a PopupMenu. By allowing to show a Swing JPopupMenu, we get additional features such as menu icons.
A solution would be to create a JTrayIcon class that was a subclass of TrayIcon that added additional constructors to take in a JPopupMenu and perhaps even a custom component for rendering a status message. The JTrayIcon class could be in the javax.swing package tree, therefore there would be no AWT dependency on Swing.
JUSTIFICATION :
The ability to use a JPopupMenu for tray icons would provide additional functionality such as menu icons.
CUSTOMER SUBMITTED WORKAROUND :
A mouse listener could be registered with the tray icon that shows the JPopupMenu in a new window above the icon, however this involves additional work on the user's part.
###@###.### 2005年06月15日 11:19:02 GMT