[vtkusers] Re: VTK/Java/Swing - components flickering - direct draw problem?
David Marshburn
marshbur at cs.unc.edu
Fri Aug 3 15:37:39 EDT 2007
------------------------------
> 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
More information about the vtkusers
mailing list