<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:PMingLiU;
        panose-1:2 1 6 1 0 1 1 1 1 1;}
@font-face
        {font-family:MingLiU;
        panose-1:2 1 6 9 0 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"\@MingLiU";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:PMingLiU;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body bgcolor=white lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Since the native interface files have their
headers pre-defined by vtk already (such as the package etc) you cannot pack
them into a different package.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The native codes will not have your new
package names in the header and hence they cannot be called. If you really must
have a different package etc then</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>You must regenerate all the native
interface header files for all the java classes (see the java.sun.com tutorial
for more details on native interface )</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Gowri</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Ivan Kuo
[mailto:kch90@dvis.cs.ccu.edu.tw] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday 02 January 2003
05:32 <br>
<b><span style='font-weight:bold'>To:</span></b> vtk users<br>
<b><span style='font-weight:bold'>Subject:</span></b> [vtkusers] vtkPanel class
file in package occurs run-time error</span></font></p>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3 face=PMingLiU><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=MingLiU><span
style='font-size:10.0pt;font-family:MingLiU'>Hi</span></font><font size=2
face="Times New Roman"><span style='font-size:10.0pt;font-family:"Times New Roman"'>&nbsp;</span></font><font
size=2 face=MingLiU><span style='font-size:10.0pt;font-family:MingLiU'>all,</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2
face="Times New Roman"><span style='font-size:10.0pt;font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;</span></font><font
size=2 face=MingLiU><span style='font-size:10.0pt;font-family:MingLiU'> I'm
trying to packet my vtk java class files and the vtkPanel class file into a</span></font><font
size=2 face="Times New Roman"><span style='font-size:10.0pt;font-family:"Times New Roman"'>&nbsp;</span></font><font
size=2 face=MingLiU><span style='font-size:10.0pt;font-family:MingLiU'>directory,
so I add &quot;package project;&quot; to the vtkPanel.java and my vtk java
files. But i got a run-time error (below) when executing.</span></font><font
size=2 face="Times New Roman"><span style='font-size:10.0pt;font-family:"Times New Roman"'>&nbsp;</span></font><font
size=2 face=MingLiU><span style='font-size:10.0pt;font-family:MingLiU'>However,
It is executable without package</span></font><font size=2
face="Times New Roman"><span style='font-size:10.0pt;font-family:"Times New Roman"'>&nbsp;</span></font><font
size=2 face=MingLiU><span style='font-size:10.0pt;font-family:MingLiU'>the
vtkPanel file.</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=MingLiU><span
style='font-size:10.0pt;font-family:MingLiU'>Exception in thread
&quot;main&quot; java.lang.UnsatisfiedLinkError: SetSizeInternal<br>
</span></font><font size=2 face="Times New Roman"><span style='font-size:10.0pt;
font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font><font
size=2 face=MingLiU><span style='font-size:10.0pt;font-family:MingLiU'> at
project.vtkPanel.SetSizeInternal(Native Method)<br>
</span></font><font size=2 face="Times New Roman"><span style='font-size:10.0pt;
font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font><font
size=2 face=MingLiU><span style='font-size:10.0pt;font-family:MingLiU'> at
project.vtkPanel.setSize(vtkPanel.java:58)<br>
</span></font><font size=2 face="Times New Roman"><span style='font-size:10.0pt;
font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font><font
size=2 face=MingLiU><span style='font-size:10.0pt;font-family:MingLiU'> at
project.isoSurface.&lt;init&gt;(isoSurface.java:53)<br>
</span></font><font size=2 face="Times New Roman"><span style='font-size:10.0pt;
font-family:"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font><font
size=2 face=MingLiU><span style='font-size:10.0pt;font-family:MingLiU'> at
project.isoSurface.main(isoSurface.java:303)</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=MingLiU><span
style='font-size:10.0pt;font-family:MingLiU'>Any help is appreciated!</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=MingLiU><span
style='font-size:10.0pt;font-family:MingLiU'>Ivan Kuo</span></font><font
size=2 face="Times New Roman"><span style='font-size:10.0pt;font-family:"Times New Roman"'>&nbsp;&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=MingLiU><span
style='font-size:10.0pt;font-family:MingLiU'><a
href="mailto:kch90@cs.ccu.edu.tw">kch90@cs.ccu.edu.tw</a></span></font></p>

</div>

</div>

</body>

</html>