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; [email protected] 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
