From: Pontus L. <po...@ly...> - 2000-05-03 09:41:08
|
On Sat, 29 Apr 2000, Max Gilead wrote: > > Virgil Wall wrote: > > > I've > > never tried to put an AWT heavy-weight component on top of a GLCanvas, so > > I'm not even sure if this would work. > > According to my tests, GLCanvas is always at the top (no matter if is is Swing, > or Swing with lightweight flag set to off or AWT). You may of course create > another window and then it can be layered. I've managed to show popup menus on top of a GLCanvas, using JPopupMenu.setDefaultLightweightPopupEnabled(false) which is supposed to turn popup menus into heavyweight (awt?) components. I've had success on Linux/Blackdown JDK 1.2.2 with MesaSoft, and on Windows NT with GeForce256 and JBuilder. That I've had luck with this and you not, does it indicate that it may be a OpenGL version/driver issue? Regards, Pontus -- Pontus Lidman, po...@ma..., Software Engineer No matter how cynical you get, it's impossible to keep up. Scene: www.dc-s.com | MUD: tyme.envy.com 6969 | irc: irc.quakenet.eu.org |