<AWT Dev> [9] Review request for 8170386: JLightweightFrame content can miss paint events on Windows

Semyon Sadetsky semyon.sadetsky at oracle.com
Tue Nov 29 14:35:01 UTC 2016


Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8170386

webrev: http://cr.openjdk.java.net/~ssadetsky/8170386/webrev.00/

Paint event may be missed by the JLightweightFrame on Windows platform 
when it is resized consequently to the same size because the latter sets 
paintPainding flag .

The fix overrides WComponentPeer#setBounds() method in 
WLightweightFramePeer to clears paintPainding flag.


More information about the awt-dev mailing list