Tip on Mixing Heavyweight and Lightweight Java Components
By Laura Bennett2003-10-01
The Problem
I have a JComboBox displayed in a Panel container that is embedded in a Frame window. When I select the down arrow to make a popup window appear in order to change the selection within the entryfield, the popup window appears to be clipped. In fact, when I do some further investigation, I notice that the popup, which lists the choices to select from, appears behind the Frame component. Is this a z-order problem?
Tutorial Pages:
» The Problem
» The answer
» The resolution
» Resources
First published by IBM DeveloperWorks
