[vtkusers] SetPixelFormat Failed - error

Denis Barbier bouzim at gmail.com
Tue Oct 28 04:11:25 EDT 2008


On 2008/10/28 PsyVis wrote:
> I'm quite new to vtk - could you explain what you mean - how do I get at the
> event dispatching thread?

This is not related to VTK but to Swing, see for instance
   http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html
Looking at the code, SetPixelFormat should be called only once, thus
I wonder whether this is a concurrency problem, which rings this
"single-thread rule"  bell for Java apps ;-)
This is just a guess, I use VTK with Java, but not on Windows.

Denis



More information about the vtkusers mailing list