Hello,

Please review fix for JDK9:

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

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

The root cause of the issue is that last expose event from WM sometimes comes after the content window of the decorated frame is firstly configured during the initialization. This happens because during initialization of the decorated peer the WM events are processed with a delay.

The proposed solution posts paint event after the initial configuration of the content window and ignore all WM expose events until the window initialization is finished to avoid unwanted intermediate paints.

--Semyon

Reply via email to