-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
6
-
x86
-
windows_xp
A DESCRIPTION OF THE REQUEST :
The TrayIcon class should have a constructor which takes an java.awt.ImageIcon as an argument. Presently it has a constructor which takes java.awt.Image as argument.
JUSTIFICATION :
As the TrayIcon will display a "Icon" in the SystemTray it makes more sense to have a constructor which takes ImageIcon as an argument. And constructing ImageIcon is much more simpler than constructing an Image.
The TrayIcon class should have a constructor which takes an java.awt.ImageIcon as an argument. Presently it has a constructor which takes java.awt.Image as argument.
JUSTIFICATION :
As the TrayIcon will display a "Icon" in the SystemTray it makes more sense to have a constructor which takes ImageIcon as an argument. And constructing ImageIcon is much more simpler than constructing an Image.
- duplicates
-
JDK-6285881 JTrayIcon: support Swing JPopupMenus for tray icons
-
- Closed
-
- relates to
-
JDK-6403544 vista: Popup Menu is not matching with native popup menu
-
- Open
-
-
JDK-6285881 JTrayIcon: support Swing JPopupMenus for tray icons
-
- Closed
-