[vtkusers] problem with vtkPanel
Mark Gooding
mark.gooding at merton.oxford.ac.uk
Tue Jan 7 09:32:28 EST 2003
At 15:21 07/01/2003 +0100, Jan-Gerrit Drexhage wrote:
>If i start this i get a 800x600 Window with grey background and nothing
>happen. I used the vtkPanel as it was written in SimpleVTK.java
>(/vtkdir/Wrapping/Java).
>If you found the error(s) then please reply, thanks in Advance and a Happy
>New Year to you all :-)
You don't appear to add the Container content to the JFrame, although I am
not sure that you need the Container in the first place.
try replacing:
content.add(vtkpane);
with:
this.add(vtkpane);
Cheers,
Mark
More information about the vtkusers
mailing list