Login  Register

Re: Can I put awt components over part of a GLCanvas?

Posted by billyork23 on Jun 24, 2010; 11:36pm
URL: https://forum.jogamp.org/Can-I-put-awt-components-over-part-of-a-GLCanvas-tp827759p920870.html

From what I've observed and the discussion I've had with other folks the GLCanvas is the only truly heavyweight window in the AWT hierarchy on mac. All other Windows - though they are heavyweight on other platforms - are not heavyweight on mac.

What happens when you put an AWT component over a GLCanvas on Windows and Linux is that AWT puts a heavyweight OS window on the screen and then draws into it.

Since AWT does not put any heavyweight components on the screen on Mac, the GLCanvas always stays on top.

Hope this helps.

Bill