- 
    Bug 
- 
    Resolution: Unresolved
- 
     P4 P4
- 
    6, 6u10
- 
        x86
- 
        windows_xp, windows_vista
                    Step to reproduce:
----------------------
1) Run the attached program. You can see the TrayIcon is added to the SystemTray. If you dn't see the TrayIcon, Click on the 'SetImage' button. A file dialog appears, select any one of the image file that is atached(animdog.gif & cupanim.gif). now you can see the selected image as TrayIcon.
2) Click on 'Toggle Popup' button.
3) Right click on TrayIcon , you can see a popup menu above that SytemTray which does not
match with the native popupmenu.
I have attached two screen shot(SystemTrayPopupMenu.png & Nativepopupmenu.png). You can observe that the java popupmenu(SystemTrayPopupMenu.png) is not matching with native popupmenu(Nativepopupmenu.png).
Note:- Please see SytemTray bug 6400191 ( Vista: SystemTray's popup menu is placed 50 pixels above the taskbar) for placement of popupmenu.
I tested this on Vista beta2 (build 5308) on Mustang b76.
            
----------------------
1) Run the attached program. You can see the TrayIcon is added to the SystemTray. If you dn't see the TrayIcon, Click on the 'SetImage' button. A file dialog appears, select any one of the image file that is atached(animdog.gif & cupanim.gif). now you can see the selected image as TrayIcon.
2) Click on 'Toggle Popup' button.
3) Right click on TrayIcon , you can see a popup menu above that SytemTray which does not
match with the native popupmenu.
I have attached two screen shot(SystemTrayPopupMenu.png & Nativepopupmenu.png). You can observe that the java popupmenu(SystemTrayPopupMenu.png) is not matching with native popupmenu(Nativepopupmenu.png).
Note:- Please see SytemTray bug 6400191 ( Vista: SystemTray's popup menu is placed 50 pixels above the taskbar) for placement of popupmenu.
I tested this on Vista beta2 (build 5308) on Mustang b76.
- duplicates
- 
                    JDK-6409255 SystemTray's popup doesn't look native on Vista (b5342) -           
- Closed
 
-         
- relates to
- 
                    JDK-8259913 AWT menu items are not scaled correctly on Windows HiDPI displays -           
- In Progress
 
-         
- 
                    JDK-6575405 JTrayIcon class with javax.swing.ImageIcon and JPopupMenu -           
- Open
 
-         
- 
                    JDK-6287100 Should be able to use JPopupMenu for tray icons -           
- Closed
 
-