Some of our users are complaining that our popup windows (e.g. those used in
JComboBox lists) get clipped when the window attempts to extend beyond the
border of the browser frame. The user has to close the popup and open it
again to see the entire popup menu. I believe that this is the
lightweight/heavyweight issue. The popup first displays (incorrectly) as a
lightweight Swing window. The second time it displays (correctly) as a
native heavyweight window.
I thought that Swing was supposed to check whether the popup window extends
outside of its container, and then automatically determine whether the popup
should be displayed in a lightweight or heavyweight container.
I'm hoping that I don't have to make all of our popup menu windows *always*
heavyweight (i.e. by calling setLightWeightPopupEnabled(false)). In our
applets, heavy weight windows have some ugly side effects.
Anyone know a workaround?
We're using JDK 1.3.
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing