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

Ambarish Rapte ambarish.rapte at oracle.com
Wed Nov 25 05:10:35 UTC 2015


Hi,

                This fix looks good to me.

 

Many Thanks,

Ambarish

 

From: Manajit Halder 
Sent: Monday, November 23, 2015 5:08 PM
To: Ambarish Rapte; Semyon Sadetsky; awt-dev at openjdk.java.net
Subject: Review request for 8132766: [TESTBUG] Fix JDK-8068228 failed for java/awt/Mouse/MaximizedFrameTest/MaximizedFrameTest in MacOSX

 

Hi All, 

 

Kindly review the fix for JDK9.

Bug: 

HYPERLINK "https://bugs.openjdk.java.net/browse/JDK-8019280"https://bugs.openjdk.java.net/browse/JDK-8132766

 

Webrev: 

HYPERLINK "http://cr.openjdk.java.net/%7Erchamyal/manajit/8132766/webrev.00/"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/20151124/6595ef98/attachment.html>


More information about the awt-dev mailing list