[vtkusers] vtkPanel problem on Windows

R K Shyam Prakash ramakrishna.prakash at quest-global.com
Wed May 12 09:29:25 EDT 2004


Ben,

> I am trying to upgrade my Java 1.4 project to work with the 
> latest VTK.  I have a JPanel with an embedded vtkPanel.  This 
> works, except that when RenderCreate is called inside of 
> vtkPanel, I get another window on my desktop, with a title of 
> "Visualization Toolkit - Win32OpenGLRenderer". This window 
> contains the same display as my vtkPanel does, but usually 
> locks up. What is this window and how can I prevent it from 
> being created?

Looks like you are calling vtkPanel.Render() before the vtkPanel is
realized. Do not make any Render calls until the parent window of your
vtkPanel is realized.

--Shyam




More information about the vtkusers mailing list