[vtkusers] SetPixelFormat Failed - error

PsyVis osue80 at bangor.ac.uk
Tue Oct 28 16:48:29 EDT 2008


Hello
 Thanks David for your time. I've put the code for creating and removing the
panel in an invokeLater method and this seems to have reduced the problem
from every 4/5 times to 2/5 times. I'll carry on searching for a method to
completely sort this out but if you find anything else please forward it to
me.

Cheers

Rich


Denis Barbier-5 wrote:
> 
> On 2008/10/28 PsyVis wrote:
>> 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????
> 
> Here is another link which discusses this problem:
>  
> http://weblogs.java.net/blog/cayhorstmann/archive/2007/06/the_single_thre.html
> You can call invokeLater when creating/removing vtkPanel and see if this
> fixes
> your problem.
> 
> 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-tp20186670p20215760.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list