[vtkusers] vtkWindow always appears on top of any other java awt components

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Jul 4 14:00:54 EDT 2011


Hi Kevin,

the way to solve that is to set the LightWeightPopupEnabled(boolean)
flag on your popup-menu and combobox that are going to overlay the VTK
panel.
Although if you are using the latest JVM this is supposed to be
managed. But I don't remember if it's 1.6.latest or 1.7.

Seb

PS: check that
- http://java.sun.com/developer/technicalArticles/GUI/mixing_components/
- http://java.sun.com/products/jfc/tsc/articles/mixing/

On Wed, Jun 22, 2011 at 10:22 PM, Kevin Lin <cqqlin at gmail.com> wrote:
> Hello, world,
>
> I am working on integrating vtk Application with Java Swing, and meet a
> problem that the vtkWindow is always showing on top of other awt components,
> including popups such as menu, popup menu, drop down list of JComboBox
>
> So is there any way I can get rid of it? This is really a headache for me.
>
> Thanks in advance.
>
> --
> Sincerely,
> Kevin Lin
> 2011-6-23
>
> _______________________________________________
> 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