[vtkusers] New wiki Java examples

Jim Peterson jimcp at cox.net
Sun Nov 14 22:15:09 EST 2010


Found it, The vtkSample in the distribution has no 
frame.setVisible(true); I added that line and it does work.
Jim
Jim Peterson wrote:
> Seb,
> My current problem is no example. I am using eclipse 3.5.2, and vtk 
> 5.6.0. The non JPanel versions of vtk do work in my java environment. 
> TestVTKCanvas does create a window with two panels in it, each 
> displaying a cone, and each independent of the other it appears. 
> VTKSample however, runs and terminates without any java window or 
> panel displayed. I have no idea what to do to make it display an 
> example similar to your cassandra forum how-to. there are no errors, 
> just no display.
>
> any idea what the magic word is?
> thanks,
> Jim
>
> Sebastien Jourdain wrote:
>> Hi Jim,
>>
>> I'm just saying that vtkCanvas/vtkPanel are classes that wrap a
>> renderwindow/renderer into a Java graphical component class which is
>> easier to use in the Java graphical world.
>>
>> You can give a look at
>> http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk 
>>
>>
>> And good luck,
>>
>>   
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list