JFrame and vtkPanel
Paul Hsieh
pahsieh at usgs.gov
Fri Aug 27 20:11:52 EDT 1999
Mykola:
Yes, this can be done. However, because vtkPanel is a
heavyweight Component, you have to be careful it doesn't
block any lightwight component, such as the drop-down
menu items of the JFrame's menu. To make sure the drop
down menu items are not blocked, invoke the static method
JPopupMenu.setDefaultLightWeightPopupEnabled(false);
Do this BEFORE you create your JMenuBar. The menu items will
then appear in front of the vtkPanel.
Paul
Mykola Khotyaintsev wrote:
>
> Hello VTK users,
>
> Is there any possibility to insert vtkPanel into JFrame?
>
> Best!
>
> Mykola Khotyaintsev
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list