On Fri, 2006-02-24 at 13:48 -0500, Lillian Angel wrote:
> Here is a new patch for this problem. We went ahead and implemented the
> listener idea proposed in the last email. It appears to be the simplest
> (and best) fix. It does not break anything else.
> 
> Roman suggested we use a HierarchyBoundsListener, but we need a
> Component Listener for the componentShown/componentHidden functions. 
> The listener is attached to the parent of the heavyweight components.
> Therefore, the parent whose peer is an instanceof LightweightPeer. This
> was a more intuitive/simple approach.
> 
> The listener is a fix for all heavyweights in lightweights. It positions
> them properly, by calling peer.setBounds, peer.show, peer.hide.
> 
> There are some mauve tests showing this problem. It is now passing, the
> MegaMek issue is fixed, the swing demo still works, and other test cases
> are still ok :)

Looks good.  Thanks Lillian.

Tom



Reply via email to