<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR>
<STYLE>@font-face {
        font-family: PMingLiU;
}
@font-face {
        font-family: MingLiU;
}
@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: \@PMingLiU;
}
@font-face {
        font-family: \@MingLiU;
}
P.MsoNormal {
        FONT-FAMILY: PMingLiU; FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt
}
LI.MsoNormal {
        FONT-FAMILY: PMingLiU; FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt
}
DIV.MsoNormal {
        FONT-FAMILY: PMingLiU; FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: navy; FONT-FAMILY: Arial
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY bgColor=white lang=EN-US link=blue vLink=blue>
<DIV><FONT face=細明體 size=2>Thanks!</FONT></DIV>
<DIV><FONT face=細明體 size=2>After using the vtk Nightly version for java and
ccmake, i can packet the vtkPanel.class in vtk.jar. I can use that vtk.jar
(contain vtkPanel) both in Windows and Linux while I install the same version of
noghtly vtk.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=MingLiu size=2>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=MingLiU size=2><SPAN
style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt">Ivan Kuo</SPAN></FONT><FONT
face="Times New Roman" size=2><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 10pt"> </SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=MingLiU size=2><SPAN
style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt"><A
href="mailto:kch90@cs.ccu.edu.tw">kch90@cs.ccu.edu.tw</A></SPAN></FONT></P></DIV></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt 新細明體">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt 新細明體; font-color: black"><B>From:</B>
<A href="mailto:Gowri.Gopalakrishnan@inteq.com"
title=Gowri.Gopalakrishnan@inteq.com>Gopalakrishnan, Gowri</A> </DIV>
<DIV style="FONT: 10pt 新細明體"><B>To:</B> <A
href="mailto:kch90@dvis.cs.ccu.edu.tw" title=kch90@dvis.cs.ccu.edu.tw>'Ivan
Kuo'</A> ; <A href="mailto:vtkusers@public.kitware.com"
title=vtkusers@public.kitware.com>vtk users</A> </DIV>
<DIV style="FONT: 10pt 新細明體"><B>Sent:</B> Friday, January 03, 2003 5:45
PM</DIV>
<DIV style="FONT: 10pt 新細明體"><B>Subject:</B> RE: [vtkusers] vtkPanel class
file in package occurs run-time error</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT color=navy face=Arial size=2><SPAN
style="COLOR: navy; FONT-FAMILY: Arial; FONT-SIZE: 10pt">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 color=navy face=Arial size=2><SPAN
style="COLOR: navy; FONT-FAMILY: Arial; FONT-SIZE: 10pt">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 color=navy face=Arial size=2><SPAN
style="COLOR: navy; FONT-FAMILY: Arial; FONT-SIZE: 10pt">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 color=navy face=Arial size=2><SPAN
style="COLOR: navy; FONT-FAMILY: Arial; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy face=Arial size=2><SPAN
style="COLOR: navy; FONT-FAMILY: Arial; FONT-SIZE: 10pt">Regards</SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy face=Arial size=2><SPAN
style="COLOR: navy; FONT-FAMILY: Arial; FONT-SIZE: 10pt">Gowri</SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy face=Arial size=2><SPAN
style="COLOR: navy; FONT-FAMILY: Arial; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy face=Arial size=2><SPAN
style="COLOR: navy; FONT-FAMILY: Arial; FONT-SIZE: 10pt"> </SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Tahoma size=2><SPAN
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt">-----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: 36pt"><FONT face=PMingLiU size=3><SPAN
style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"> </SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=MingLiU size=2><SPAN
style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt">Hi</SPAN></FONT><FONT
face="Times New Roman" size=2><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 10pt"> </SPAN></FONT><FONT
face=MingLiU size=2><SPAN
style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt">all,</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=2><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 10pt"> </SPAN></FONT><FONT
face=MingLiU size=2><SPAN style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt"> I'm
trying to packet my vtk java class files and the vtkPanel class file into
a</SPAN></FONT><FONT face="Times New Roman" size=2><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 10pt"> </SPAN></FONT><FONT
face=MingLiU size=2><SPAN
style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt">directory, so I add "package
project;" to the vtkPanel.java and my vtk java files. But i got a run-time
error (below) when executing.</SPAN></FONT><FONT face="Times New Roman"
size=2><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 10pt"> </SPAN></FONT><FONT
face=MingLiU size=2><SPAN
style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt">However, It is executable
without package</SPAN></FONT><FONT face="Times New Roman" size=2><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 10pt"> </SPAN></FONT><FONT
face=MingLiU size=2><SPAN style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt">the
vtkPanel file.</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"> </SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=MingLiU size=2><SPAN
style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt">Exception in thread "main"
java.lang.UnsatisfiedLinkError: SetSizeInternal<BR></SPAN></FONT><FONT
face="Times New Roman" size=2><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 10pt"> </SPAN></FONT><FONT
face=MingLiU size=2><SPAN style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt"> at
project.vtkPanel.SetSizeInternal(Native Method)<BR></SPAN></FONT><FONT
face="Times New Roman" size=2><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 10pt"> </SPAN></FONT><FONT
face=MingLiU size=2><SPAN style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt"> at
project.vtkPanel.setSize(vtkPanel.java:58)<BR></SPAN></FONT><FONT
face="Times New Roman" size=2><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 10pt"> </SPAN></FONT><FONT
face=MingLiU size=2><SPAN style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt"> at
project.isoSurface.<init>(isoSurface.java:53)<BR></SPAN></FONT><FONT
face="Times New Roman" size=2><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 10pt"> </SPAN></FONT><FONT
face=MingLiU size=2><SPAN style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt"> at
project.isoSurface.main(isoSurface.java:303)</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=MingLiU size=2><SPAN
style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt">Any help is
appreciated!</SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman"
size=3><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"> </SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=MingLiU size=2><SPAN
style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt">Ivan Kuo</SPAN></FONT><FONT
face="Times New Roman" size=2><SPAN
style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 10pt"> </SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=MingLiU size=2><SPAN
style="FONT-FAMILY: MingLiU; FONT-SIZE: 10pt"><A
href="mailto:kch90@cs.ccu.edu.tw">kch90@cs.ccu.edu.tw</A></SPAN></FONT></P></DIV></DIV></BLOCKQUOTE></BODY></HTML>