[vtkusers] Rendering in a JPanel

jason@optimalcomputing jason.cardinal at optimalcomputing.be
Mon Aug 17 04:32:34 EDT 2015


Hi everyone,

I'm trying to integrate my vtk renderwindowpanel into a Java JPanel instead
of a JFrame.

I use the follwing tutorial as an example:
http://www.vtk.org/Wiki/VTK/Examples/Java/SwingIntegration/JFrameRenderer

But when I modify that code to render the graphics within a JPanel which is
integrated in the JFrame, this doesn't work anymore...


My guess is that the vtk renderwindowpanel can't be integrated in anything
else than a JFrame.
Do someone know an alternative way on integrating that renderwindowpanel in
a JPanel ?



--
View this message in context: http://vtk.1045678.n5.nabble.com/Rendering-in-a-JPanel-tp5733524.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list