Duplicate :
|
A DESCRIPTION OF THE REQUEST : It would be great, if the TrayIcon constructor at http://download.java.net/jdk6/docs/api/java/awt/TrayIcon.html would accept not only AWT PopupMenu, but SWING JPopupMenu also. now the constructor is: TrayIcon(Image image, String tooltip, PopupMenu popup); JUSTIFICATION : It is impossible to setMnemonic to PopupMenu. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - I want to build more sofisticated menus using JPopupMenu (SWING) - not only PopupMenu (AWT).
|