<AWT Dev> [8] Review Request: 7157680 XAWT: Native components should not paint native part on UPDATE event.
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Thu Oct 17 06:51:04 PDT 2013
Hello.
Please review the fix for jdk 8.
This fix is for xawt, the same bug was already fixed in lwawt JDK-7125657.
According of
http://www.oracle.com/technetwork/java/painting-140037.html# update()
can be used for Incremental painting. And as example this tutorial
provide this this demo:
http://www.comp.nus.edu.sg/~cs3283/ftp/Java/swingConnect/special_report/painting/UpdateDemo.java
It accidentally work in a xawt, because XCanvasPeer.paintPeer() is noop,
but if Canvas will be replaced by the Label in the demo, then
incremental version of the demo does not work.
Bug: https://bugs.openjdk.java.net/browse/JDK-7157680
Webrev can be found at: http://cr.openjdk.java.net/~serb/7157680/webrev.00
--
Best regards, Sergey.
More information about the awt-dev
mailing list