[vtkusers] Re: VTK/Java/Swing - components flickering - direct draw problem?

Eran Guendelman erang at stanford.edu
Fri Aug 3 17:52:23 EDT 2007


Thanks a lot, that seems to have fixed it.

David Marshburn wrote:
> 
> ------------------------------
> 
>> Date: Thu, 02 Aug 2007 13:21:01 -0700
>> From: Eran Guendelman <erang at stanford.edu>
>> Subject: [vtkusers] VTK/Java/Swing - components flickering - direct
>> 	draw	problem?
>>
>> Sometimes our application gets into a state where our slider jumps back 
>> and forth as we're dragging on it... essentially every redraw it 
>> alternates from being under the mouse (where it should be) and in some 
>> other random location (which seems to be a stale back buffer or 
>> something).
>>
>> So I was just wondering, have other people experienced this?  And is it 
>> possible to fix this without requiring hardware acceleration to be 
>> turned off for the whole computer?
> 
> 
> yes, we've seen this, too.  you can use the following two command-line 
> parameters to the jre to make the behavior stop:
> 
> -Dsun.java2d.ddoffscreen=false -Dsun.java2d.gdiblit=false 
> 
> -david
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 




More information about the vtkusers mailing list