<AWT Dev> Review request for 8132766: [TESTBUG] Fix JDK-8068228 failed for java/awt/Mouse/MaximizedFrameTest/MaximizedFrameTest in MacOSX

Manajit Halder manajit.halder at oracle.com
Mon Nov 23 11:38:02 UTC 2015


Hi All,

Kindly review the fix for JDK9.
*Bug*:
https://bugs.openjdk.java.net/browse/JDK-8132766 
<https://bugs.openjdk.java.net/browse/JDK-8019280>

*Webrev*:
http://cr.openjdk.java.net/~rchamyal/manajit/8132766/webrev.00/

*Issue*: Unable to determine title component. MetalLookAndFeel was not 
getting set.

*Cause*: setDefaultLookAndFeelDecorated(true) was not setting the look 
and feel to MetalLookAndFeel.

*Fix*: Set the look and feel to MetalLookAndFeel using 
setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
        Modified the code as per the comment given in mail 
http://mail.openjdk.java.net/pipermail/awt-dev/2015-August/009858.html
            Reformatted the code to get rid of Applet and made it more 
modular.

Regards,
Manajit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20151123/00867e18/attachment.html>


More information about the awt-dev mailing list