[vtkusers] Problems with mouse interaction using Java (jdk1.3)

Ken Martin ken.martin at kitware.com
Thu Apr 12 10:51:14 EDT 2001


Vtk/java/SimpleVTK.java is an example that does what you are looking for.
You will need a nightly release since there have been osme bug fixes in the
JDK1.3 AWT interaction lately.

- Ken


-----Original Message-----
From: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com]On Behalf Of Drazen Beatovic
Sent: Wednesday, April 11, 2001 3:42 PM
To: vtkusers at public.kitware.com
Subject: [vtkusers] Problems with mouse interaction using Java (jdk1.3)


I am trying to use slightly modified version of
vtkPanel.java in our application.

Mouse interaction is done by attaching appropriate
listeners to Canvas ( vtkPanel extends Canvas ).

Everything appears to work fine with jdk1.2.2.

When jdk1.3 is used mouse listeners are never
called. I believe that we have re-build vtk.jar using
jdk1.3.

Is there a way to make vtk mouse interaction work with
jdk1.3 when vtkRenderWindow is placed into either
Canvas or JPanel (like vtkPanel.java).

Simple example would be very nice.

Best regards,

Drazen




__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list