[vtkusers] vtkJava and SWING

Ken Martin ken.martin at kitware.com
Wed Oct 3 11:54:53 EDT 2001


This is an OpenGL Java issue and Java3D suffers from the same problem.
Last I heard OpenGL requires a heavyweight window and so you have the
standard swing/(AWT--heavyweight) issue.

Ken

> I have embedded the vtkPanel inside a JInternalFrame
> component.  The problem
> is that the vtkPanel component is a heavyweight (AWT) component and
> therefore it is rendered on top of all other swing
> components.  I know how
> to handle the popup menus using
> setDefaultLightWeightPopupEnabled(false),
> however I am in need of a "lightweight (swing)" version of vtkPanel.
>
> Has anyone done this or at least looked into it?  Is it on
> the list for a
> new version of VTK?  Does anyone know what type of
> modifications need to be
> made to vtk to make vtkPanel a swing component?




More information about the vtkusers mailing list