[
https://issues.apache.org/jira/browse/PIVOT-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909410#action_12909410
]
dutrieux edited comment on PIVOT-635 at 9/14/10 4:01 PM:
---------------------------------------------------------
Oki I found a solution :
I add "-Dsun.java2d.noddraw=true" to my VM parameter and that's work perfectly
with no flicker.
I found some informations about that :
"In Windows, in Swing, you will see the entire screen repaint from time to time
for no apparent reason, causing an annoying flicker. This is due to the fact
that Swing uses DirectDraw for rendering which periodically redraws just to be
safe. You can turn off DirectDraw and use standard Windows GDI rendering by
starting
Java.exe -Dsun.java2d.noddraw=true MyClass
This will slightly slow down painting, however."
You could found more information on this page :
http://java.sun.com/products/java-media/2D/perf_graphics.html
++
was (Author: dutrieux):
Oki If I found a solution :
I add "-Dsun.java2d.noddraw=true" to my VM parameter and that's work perfectly
with no flicker.
I found some informations about that :
"In Windows, in Swing, you will see the entire screen repaint from time to time
for no apparent reason, causing an annoying flicker. This is due to the fact
that Swing uses DirectDraw for rendering which periodically redraws just to be
safe. You can turn off DirectDraw and use standard Windows GDI rendering by
starting
Java.exe -Dsun.java2d.noddraw=true MyClass
This will slightly slow down painting, however."
You could found more information on this page :
http://java.sun.com/products/java-media/2D/perf_graphics.html
++
> Ficker effect on TextPaneDemo
> -----------------------------
>
> Key: PIVOT-635
> URL: https://issues.apache.org/jira/browse/PIVOT-635
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Affects Versions: 2.0
> Environment: windows 7 x64
> Java 1.6.0.21
> Reporter: dutrieux
>
> I remark a blinking effect when I resize window on TextPaneDemo when the
> cursor (focus) is in TextPane component and this blinking effect disappears
> if the focus is on a other component.
> Duto
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.