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

serb sergey.bylokhov at oracle.com
Mon Dec 5 02:48:21 UTC 2016


>> (usually we have a postPaintEvent() method in peers). Since the "paintPending" flag is not reset means that the Paint event is not posted(seems that the reason is that we have no native part). And we should do this from the WLightweightFramePeer in the same way as we post COMPONENT_MOVED/COMPONENT_RESIZED
> It is already posted on on the end of any layout. Why do you think the extra paint event should be added to paint the same layout twice?

If current code in idk does not work and we have a bug which we are discussing means that this event is not posted? If I missed something, then please clarify the problem.
Note, that if two event of the same type will be posted from a different places they will be merged(coalesced).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20161204/646a33c7/attachment.html>


More information about the awt-dev mailing list