Hi Roman,

> 2005-09-22  Roman Kennke  <[EMAIL PROTECTED]>
> 
>     * javax/swing/JComponent.java
>     (paintChildren): If a child component is invisible, skip it.
>     Handle the (rare) case when no clip is set as if it's set to the
>     child component's bounds. These fixes should make Swing working
>     again as before.
> [...]
>          Rectangle bounds = children[i].getBounds();
>          Rectangle oldClip = g.getClipBounds();
> +        if (oldClip == null)
> +          oldClip = bounds;

And later you do:

            g.setClip(oldClip);

Even when oldClip was originally null.

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to