[vtkusers] Newbie Java question (yet another)

Johnson, G (Greg) G.Johnson at rl.ac.uk
Wed Dec 20 06:56:03 EST 2000


Hi folks, 
  Though I've trawled the archives, I can't seem to find anyone who has had
this problem (or at least needed help sorting it out).  I am trying to get
the Java interface working under NT4, and though I can compile and run the
Test.java code, compiling the sphere.java test doesn't work.  I get the
following errors:

sphere.java:28: Class vtk.vtkPanel not found in type declaration.
        vtk.vtkPanel renPanel = new vtk.vtkPanel();
           ^
sphere.java:28: Class vtk.vtkPanel not found in type declaration.
        vtk.vtkPanel renPanel = new vtk.vtkPanel();
                                       ^
2 errors

I have tried compiling vtkPanel and vtkPanel.class is in the same directory
as sphere.java, and my classpath points to the current directory as well as
vtk.jar and classes.zip.  This vtkPanel was in vtk31/java but there appears
to be another vtkPanel in vtk31/vtk31/java/vtk alongside a
vtkPanelBeans.java  (I do not understand the directory tree at all).  The
only difference I can see between them is comments around the three
Windows/X11 display lines.  But what is the PanelBeans for?  

Any tips would be much appreciated!

Confusedly,

greg

Greg Johnson, Design Engineer
CLRC Rutherford Appleton Laboratory, Chilton, UK
g.johnson at rl.ac.uk -- www.clrc.ac.uk





More information about the vtkusers mailing list