Mixing Heavyweight and Lightweight Components
By Sharon Zakhour on Sep 23, 2009
Have you ever tried to put a heavyweight component, such as a
java.awt.Label, in a window that has a lightweight component (for example, a
javax.swing.JMenu)? Where the menu overlaps the button (or label), the lightweight menu appears underneath the heavyweight component. But, as of 6u12 and JDK7 build 19, this now "just works." For more information, see the new article Mixing Heavyweight and Lightweight Components.
- Sharon Zakhour