[vtkusers] SetPixelFormat Failed - error

PsyVis osue80 at bangor.ac.uk
Tue Oct 28 08:25:00 EDT 2008


I'm starting to see where you are coming from - the code for starting the new
panel should somehow get the setPixelFormat from the original vtkPanel I
created. I should use the invokeLater method when adding the new panel????



Denis Barbier-5 wrote:
> 
> 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
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/SetPixelFormat-Failed---error-tp20186670p20206235.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list