<Swing Dev> Review request for JDK-8067346: Swing submenu has a changed starting offset

Rajeev Chamyal rajeev.chamyal at oracle.com
Tue Sep 22 10:09:33 UTC 2015


Hi,

 

Please review the following fix for jdk9:
 
Bug: https://bugs.openjdk.java.net/browse/JDK-8067346 

Webrev: http://cr.openjdk.java.net/~psadhukhan/rajeev/8067346/webrev.00/

WindowsLookAndFeel.java overrides basic look and feel properties based on different OS versions XP, Vista etc.
Current implementation is applying Vista defaults to Windows7 as well and as a result submenu on windows7 has changed offset.
 
Added checks in WindowsLookAndFeel.java to skip Vista menu defaults for Windows7.
Verified changes on Netbeans9 Dev build and SwingSet2 applications.
 
 
Regards,
Rajeev Chamyal

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20150922/3bcecdbd/attachment.html>


More information about the swing-dev mailing list