<AWT Dev> [9] Review Request: 8033786 White flashing when opening Dialogs and Menus using Nimbus with dark background

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Jun 11 13:13:12 UTC 2014

Please review the fix for jdk 9, which is also targeted for jdk 8u20.
Problems description:
JDialog does not set background color of the peer, like JFrame does + 
there is a lag between the showing of the window and the first repaint 
action(when the swing paints its own background). We should change the 
color of the native window to the color of the Component to fix flashing.
I need a review a swing and awt part.

Bug: https://bugs.openjdk.java.net/browse/JDK-8033786
Webrev can be found at: http://cr.openjdk.java.net/~serb/8033786/webrev.00

Best regards, Sergey.

More information about the awt-dev mailing list