[ 
https://issues.apache.org/jira/browse/PIVOT-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909410#action_12909410
 ] 

dutrieux commented on PIVOT-635:
--------------------------------

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."

> 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.

Reply via email to