[vtkusers] Java and VTK Jpanel and vtkRenderWindow
Bernard Giroux
giroux at geo.polymtl.ca
Sun Apr 15 17:19:25 EDT 2007
Mei, Longyu a écrit :
> Maybe we want to the same thing. I planned to use C++ version VTK in my
> java GUI application by using Java JNI (Java Native Interface). I have
> the same problem. I can launch the C++ VTK (example) from my java
> application via JNI but it is running in a separated VTK window. What I
> want to do is embed the VTK window into a java JPanel/convase.
>
> Sebastien Jourdain suggested using existing VTK java wrapper instead of
> creating our own. I am still looking at this to see if it is what I
> want. Maybe there are some differences between his suggestion and our goal.
Hi,
Have a look at vtkPanel...
Bernard
>
> Please let me know if you get the answer. I will let you if I find the
> solution.
>
> James
>
> ------------------------------------------------------------------------
> *From:* vtkusers-bounces+lmei=analogic.com at vtk.org
> [mailto:vtkusers-bounces+lmei=analogic.com at vtk.org] *On Behalf Of *Jose
> David Pfuturi Huisa
> *Sent:* Saturday, April 14, 2007 3:24 PM
> *To:* vtkusers at vtk.org
> *Subject:* [vtkusers] Java and VTK Jpanel and vtkRenderWindow
>
> Hi everyone vtkusers
> i have a problem and i want that you help me please
> I am using java with VTK, i can compile and run together but
> i need to show the window of vtk within a window of java i.e Jpanel.
> That is to say i want to connect the class vtkRenderWindow with
> the class Jpanel. Jpanel has to show the window of VTK when jpanel appears
> thanks in advance
> José
>
> ------------------------------------------------------------------------
> Acepta el reto MSN Premium: Envía hasta 500 megas diarios de fotos desde
> Hotmail. Descárgalo y pruébalo 2 meses gratis.
> <http://g.msn.com/8HMAESES/2743??PS=47575>
> ****************************************************************
> The information transmitted in this message is confidential and may be
> privileged. Any review, retransmission, dissemination, or other use of
> this information by persons or entities other than the intended
> recipient is prohibited. If you are not the intended recipient, please
> notify Analogic Corporation immediately - by replying to this message or
> by sending an email to DeliveryErrors at analogic.com - and destroy all
> copies of this information, including any attachments, without reading
> or disclosing them.
>
> Thank you.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
--
Bernard Giroux, ing., Ph.D.
Associé de recherche
http://geo.polymtl.ca/~giroux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3253 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070415/c41fdff7/attachment.bin>
More information about the vtkusers
mailing list