Swing-jogl integration: heavy weight - light weight confliction?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Swing-jogl integration: heavy weight - light weight confliction?

oldyoungguy
I read the following post on a forum. i just want to know if that JScrollPane and JInternalFrame issues are true and are still exist?

--------------------
TooltipManager.sharedInstance().setLightWeightPopupEnabled(false); // for tooltips
JPopupMenu.setDefaultLightWeightPopupEnabled(false). // for menus and pop-ups

But they won't help you if you use some kind of overlapping JComponents (JScrollPane and JInternalFrame mainly) .

http://www.java-gaming.org/index.php?topic=10146.0
--------------------

Because I may need to add the JOGL display area onto a JScrollPane.
Reply | Threaded
Open this post in threaded view
|

Re: Swing-jogl integration: heavy weight - light weight confliction?

gouessej
Administrator
Hi

Heavyweight/lightweight components mixing has changed a lot since 2005. It should work correctly. I already put a GLJPanel into a JInternalFrame several years ago and it worked.
Julien Gouesse | Personal blog | Website