-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
7
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2148406 | 6-pool | Alexander Potochkin | P3 | Closed | Cannot Reproduce |
Filed on behalf of ###@###.### of the F3 team.
When repeatedly drawing images into a JApplet very bad flickering is introduced. Apparently some entity is causing the applet to be incorrectly cleared to the background color. This behavior does not occur with a standalone application in its own top-level component.
http://blogs.sun.com/chrisoliver/resource/motorola_bad.html shows the very bad flickering behavior.
http://blogs.sun.com/chrisoliver/resource/motorola.html works around the issue by drawing the image into a JLabel's icon and then drawing the JLabel. It is unclear why this works around the issue. Perhaps it is related to Swing's gray rect fix.
Forcibly specifying -Dsun.awt.noerasebackground=true in the Java Plug-In's JVM startup parameters does not work around the issue.
The primary problem is that it is unclear who is clearing the window to the background color, and that there is a difference in behavior between the applet and standalone application case.
When repeatedly drawing images into a JApplet very bad flickering is introduced. Apparently some entity is causing the applet to be incorrectly cleared to the background color. This behavior does not occur with a standalone application in its own top-level component.
http://blogs.sun.com/chrisoliver/resource/motorola_bad.html shows the very bad flickering behavior.
http://blogs.sun.com/chrisoliver/resource/motorola.html works around the issue by drawing the image into a JLabel's icon and then drawing the JLabel. It is unclear why this works around the issue. Perhaps it is related to Swing's gray rect fix.
Forcibly specifying -Dsun.awt.noerasebackground=true in the Java Plug-In's JVM startup parameters does not work around the issue.
The primary problem is that it is unclear who is clearing the window to the background color, and that there is a difference in behavior between the applet and standalone application case.
- backported by
-
JDK-2148406 Very bad flickering with animation in JApplet
-
- Closed
-