No , as I know there is no way to use the functionality of these files without compiling. THese files are using VTK objects. If you dont compile VTk you will never get the reference to them. So you MUST compile the VTK code and before enable the VTK_JAVA_WRAP in CMake.
<br> <br>This is what I know and how I understand VTK. <br><br>Bartek<br><br><div><span class="gmail_quote">On 2/15/07, <b class="gmail_sendername">Sriharsha Sista</b> &lt;<a href="mailto:sistaharsha@gmail.com">sistaharsha@gmail.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
<div>As you said I did find the files in the VTK /Wrapping/Java/vtk folder.</div><div>&nbsp;</div><div>So is there&nbsp;a way to add the functionality of these files (vtkPanel.java and vtkCanvas.java) without doing the compiling of the whole source code from the scratch? 
</div><div>&nbsp;</div><div>Can you detail me on the process if there is one?</div><div>&nbsp;</div><div>Thanks</div><span class="sg"><div>--Sista<br>&nbsp;</div></span><div><span class="e" id="q_110c69a3d815f972_2"><div><span class="gmail_quote">
On 2/15/07, <b class="gmail_sendername">David Cole</b> &lt;<a href="mailto:david.cole@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">david.cole@kitware.com</a>&gt; wrote:</span> <blockquote class="gmail_quote" style="padding-left: 1ex; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid">
Or nearly so... The CMake option to turn on Java wrapping for VTK is<br>called VTK_WRAP_JAVA.<br><br>Cheers, <br>David<br><br><br>On 2/15/07, David Cole &lt;<a href="mailto:david.cole@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
david.cole@kitware.com</a>&gt; wrote:<br>&gt; That is correct... :-)<br>&gt;<br>&gt; On 2/15/07, Bartlomiej Wilkowski &lt;<a href="mailto:wilku_83@o2.pl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
 wilku_83@o2.pl</a>&gt; wrote:<br>&gt; &gt; Ok sorry, you are right David. But you cant use them if you dont compile the<br>&gt; &gt; VTK with the option VTK_JAVA _WRAP. Am I right?<br>&gt; &gt;<br>&gt; &gt; Bartek<br>&gt; &gt; 
<br>&gt; &gt;<br>&gt; &gt; On 2/15/07, David Cole &lt;<a href="mailto:david.cole@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">david.cole@kitware.com</a>&gt; wrote:<br>&gt; &gt; &gt; The specific files asked about 
vtkPanel.java and vtkCanvas.java are<br> &gt; &gt; &gt; indeed found in the VTK source tree.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Look in the directory:<br>&gt; &gt; &gt; VTK/Wrapping/Java/vtk<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; HTH,<br>&gt; &gt; &gt; David <br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 2/14/07, Bartlomiej Wilkowski &lt; <a href="mailto:wilku_83@o2.pl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
wilku_83@o2.pl</a>&gt; wrote:<br>&gt; &gt; &gt; &gt; You will have the files after the compilation. The files will be then <br>&gt; &gt; &gt; &gt; created. You will need some C++ compiler and CMake to do it. Follow this<br>
&gt; &gt; &gt; &gt; link: <a href="http://www.spinet.pl/~wilku/vtk-howto/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.spinet.pl/~wilku/vtk-howto/</a><br> &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I explained there almost everything.
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; For sure without compilation you will not get nor the java files neither<br>&gt; &gt; the<br>&gt; &gt; &gt; &gt; vtk libraries. <br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; good luck
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Bartek<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; On 2/14/07, Sriharsha Sista &lt;<a href="mailto:sistaharsha@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
 sistaharsha@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; ---------- Forwarded message ----------<br>&gt; &gt; &gt; &gt; &gt; From: Sriharsha Sista &lt;  
<a href="mailto:sistaharsha@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sistaharsha@gmail.com</a>&gt;<br>&gt; &gt; &gt; &gt; &gt; Date: Feb 14, 2007 3:32 PM<br>&gt; &gt; &gt; &gt; &gt; Subject: Re: [vtkusers] 
VtkPanel.java, vtkCanvas.java<br>&gt; &gt; &gt; &gt; &gt; To: Bernard Giroux &lt;  <a href="mailto:giroux@geo.polymtl.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">giroux@geo.polymtl.ca</a>&gt;
<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; I guess compiling would be my next issue. But where could I get the<br> &gt; &gt; files<br>&gt; &gt; &gt; &gt; from?<br>&gt; &gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; &gt; I do not find the java files in the source cd.<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; --Sista<br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; On 2/14/07, Bernard Giroux &lt; 
<a href="mailto:giroux@geo.polymtl.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">giroux@geo.polymtl.ca</a> &gt; wrote:<br>&gt; &gt; &gt; &gt; &gt; &gt; Sriharsha Sista a écrit : <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; What platform do you work on?
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; I use windows XP and I already compiled VTK and it is up and<br>&gt; &gt; running <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; with its Java wrapper. I found a few examples on the Java VTK web
<br>&gt; &gt; &gt; &gt; sites<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; that I shall need the vtkPanel.java and vtkCanvas.java  and also<br>&gt; &gt; that<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; they are not included in the vtk.jar
.<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; Hi Sista,<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; I remember I built VTK/Java with MS Visual last year, and for some <br>&gt; &gt; &gt; &gt; &gt; &gt; reason there were some files (among which 
vtkPanel.java ) that were<br>&gt; &gt; not<br>&gt; &gt; &gt; &gt; &gt; &gt; compiled.&nbsp;&nbsp;I had to find the right target and ask the compiler to<br> &gt; &gt; build<br>&gt; &gt; &gt; &gt; &gt; &gt; it explicitly.<br>&gt; &gt; &gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Do you use any IDE?<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; No I do not. I compile from command line<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Did you compile VTK?<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Yes i did and its up and running <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Thanks for responding,<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Sista<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; &gt; &gt; &gt; On 2/14/07, *Bernard Giroux* &lt; <a href="mailto:giroux@geo.polymtl.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
giroux@geo.polymtl.ca</a><br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &lt;mailto: <a href="mailto:giroux@geo.polymtl.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> giroux@geo.polymtl.ca
</a> &gt;&gt; wrote:<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Sriharsha Sista a écrit :<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; I was looking for vtkPanel.java  and vtkCanvas.java
 to run a<br>&gt; &gt; few<br>&gt; &gt; &gt; &gt; Java<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; examples.&nbsp;&nbsp;Can someone help me with a resource and also I<br>&gt; &gt; shall<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; need a 
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; suggestion on how to bind it into vtk.jar<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Hi,<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; 
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; What platform do you work on?<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Do you use any IDE?<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Did you compile VTK?<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; 
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Thanks,<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Sista<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; 
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; 
<br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; This is the private VTK discussion list.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Please keep messages on-topic. Check the FAQ at: 
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Follow this link to subscribe/unsubscribe:
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; <br>&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; -- <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Bernard Giroux, ing., Ph.D.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Associé de recherche
<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://geo.polymtl.ca/~giroux" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://geo.polymtl.ca/~giroux
</a><br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; --<br>&gt; &gt; &gt; &gt; &gt; &gt; Bernard Giroux, ing.,  
Ph.D.<br>&gt; &gt; &gt; &gt; &gt; &gt; Associé de recherche<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; <a href="http://geo.polymtl.ca/~giroux" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://geo.polymtl.ca/~giroux</a><br>&gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; _______________________________________________
<br>&gt; &gt; &gt; &gt; &gt; This is the private VTK discussion list. <br>&gt; &gt; &gt; &gt; &gt; Please keep messages on-topic. Check the FAQ at:<br>&gt; &gt; &gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt; &gt; &gt; &gt; &gt; Follow this link to subscribe/unsubscribe: <br>&gt; &gt; &gt; &gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.vtk.org/mailman/listinfo/vtkusers</a><br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; _______________________________________________
<br>&gt; &gt; &gt; &gt; This is the private VTK discussion list.<br>&gt; &gt; &gt; &gt; Please keep messages on-topic. Check the FAQ at:<br>&gt; &gt; &gt; &gt;  <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt; &gt; &gt; &gt; Follow this link to subscribe/unsubscribe:<br>&gt; &gt; &gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
 http://www.vtk.org/mailman/listinfo/vtkusers</a><br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br></blockquote></div><br></span></div><br>_______________________________________________
<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br></blockquote></div><br>