AW: [vtkusers] Is there vtkPanel.java in vtk.jar?
Chunyan Jiang
jiang at Telematik-Institut.de
Thu Apr 17 08:33:34 EDT 2003
Shyam,
I perform every step as you said. Download the vtkPanel.java and
vtkCanvas.java. Then javac -d them. It generates not only one .class. There
are also some other files such as vtkCanvas$1.class,
vtkCanvas$DelayAction.class, and so on. I add them all to vtk.jar. However,
my compiler still can not find them.
I try two compiler: JBuilder8 and JCreator
JBuilder8 error message:
"SimpleCone.java": Error #: 302 : cannot access class vtk.vtkPanel;
java.io.IOException: class not found: class vtk.vtkPanel at line 5, column
12
.....
JCreator error message:
C:\jcy\JBapp\VTK test\VTKtest\src\vtktest\SimpleCone.java:5: cannot resolve
symbol
symbol : class vtkPanel
location: package vtk
import vtk.vtkPanel;
But I can see vtkPanel.class in vtk.jar by winzip.
How can I solve this problem?
Thank you very much!
Chunyan
-----Ursprüngliche Nachricht-----
Von: R K Shyamprakash [mailto:ramakrishna.prakash at quest-global.com]
Gesendet: Donnerstag, 17. April 2003 10:30
An: 'Chunyan Jiang'; 'VTK-User'
Betreff: RE: [vtkusers] Is there vtkPanel.java in vtk.jar?
Hi,
Download the classes from the URL I mentioned in the previous mail
compile these classes with
javac -d . *.java
and include vtkCanvas.class and vtkPanel.class in the vtk.jar along with the
directory as
jar -uvf vtk.jar vtk //vtk is the directory which contains above mentioned
class files
regards
Shyam
-----Original Message-----
From: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com]On Behalf Of Chunyan Jiang
Sent: Thursday, April 17, 2003 1:02 PM
To: VTK-User
Subject: [vtkusers] Is there vtkPanel.java in vtk.jar?
Hello,
I use vtk4.2 and JBuilder8 in Win2000. Now I want to test a simple example
SimpleCone.java. However the vtkPanel.java can not be found in vtk.jar. Does
any one use vtkPanel in his application? How can I get it?
Thank you very much!
Chunyan
***********************************************************************
Chunyan Jiang, Dipl.-Inform.,
Institut for Telematic
Bahnhofstrasse 30-32, D-54292 Trier, Germany
Phone: (+49) (0)651-97551-34
Fax: (+49) (0)651-97551-12
***********************************************************************
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list