[vtkusers] Swing Based vtkPanel
da5y-ngmn at asahi-net.or.jp
da5y-ngmn at asahi-net.or.jp
Tue Mar 5 07:58:03 EST 2002
Hello
Thank you very mutch Jeff. I could display Menu Item (Swing component).
I'm very HAPPY!!
(I also read Sun's document.)
But I wonder why does not vtkPanel uses JComponent instead of Canvas.
Is there any secret?
> This is a known issue when displaying lightweight swing components with
> heavyweight awt components. You can search the java web site for a more
> complete answer, but in short you can get the correct behavior by calling
> JPopupMenu.setDefaultLightWeightPopupEnabled( false );
> before you display any of your swing components. HTH,
-------------------
Yoshihiko Nagamine
More information about the vtkusers
mailing list