[vtkusers] java package problem
Jeff Lee
jeff at cdnorthamerica.com
Fri Sep 13 09:10:45 EDT 2002
vtkPanel.java is in package vtk, so don't repackage it. Instead copy
vtkPanel.java to a directory vtk/vtkPanel.java inside your project.
Since you already import vtk.*, java will pick it up. As long as the
native methods are inside package vtk everything will work.
-Jeff
arnaud garcia wrote:
>>Could you mention clearly what is the problem. "It doesn't work " is
> not helpful.
>
>>It would be better if you attach your error out ...............exactly
> what does not work and what is the error..............
>
> this is my error..
>
> java.lang.UnsatisfiedLinkError: SetSizeInternal
>
> at org.hug.uin.irm.vtkPanel.SetSizeInternal(Native Method)
>
> at org.hug.uin.irm.vtkPanel.setSize(vtkPanel.java:58)
>
> at java.awt.FlowLayout.layoutContainer(FlowLayout.java:438)
>
> at java.awt.Container.layout(Container.java:980)
>
> at java.awt.Container.doLayout(Container.java:970)
>
> at java.awt.Container.validateTree(Container.java:1048)
>
> at java.awt.Container.validateTree(Container.java:1055)
>
> at java.awt.Container.validateTree(Container.java:1055)
>
> at java.awt.Container.validateTree(Container.java:1055)
>
> at java.awt.Container.validateTree(Container.java:1055)
>
> at java.awt.Container.validate(Container.java:1023)
>
> at java.awt.Window.pack(Window.java:433)
>
> at org.hug.uin.irm.SimpleVTK.main(SimpleVTK.java:57)
>
>
>
>
> ------------------------------------------------------------------------
> Yahoo! Mail <http://fr.mail.yahoo.com> -- Une adresse @yahoo.fr
> gratuite et en français !
More information about the vtkusers
mailing list