Whoops

I meant to say

         JPopupMenu.setDefaultLightWeightPopupEnabled(false);

instead of

         JPopupMenu.setDefaultLightWeightPopupEnabled(true);



"Richard W. Harris" wrote:
> 
> I know this is a subject which has been beat to death, but there is just
> one small detail that I need to ask about.
> 
> So here goes.
> 
> I'm sure we all know by now, light weight swing components and
> heavyweight Canvas3D components don't mix well. When you have to mix
> them, the heavy weight components always sit on top of the lightweight
> components. Not good, particularly if you would like to use JMenu's.
> 
> Now a solution to this is to call the following somewhere.
> 
>         JPopupMenu.setDefaultLightWeightPopupEnabled(true);
> 
> What this does is it makes JPopupMenus always reside within native
> JWindow's so that they can appear in front of your Canvas3D. Problem
> solved?
> 
> Not Quite.
> 
> When you have sub-menu's, you know, menu's added to other menu's, the
> JPopupMenu is what's called "pull right." For some reason, these don't
> show up when I invoke the above static method.
> 
> Has anyone found a suitable solution to this?
> 
> If so, any advice would be greatly appreciated.
> 
> Rich Harris
> 
> Scientist
> Bios Group, L.P.
> 317 Paseo de Peralta
> Santa Fe, NM 87501
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to