classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: Component fixlet


From: Roman Kennke
Subject: [cp-patches] FYI: Component fixlet
Date: Wed, 12 Oct 2005 15:30:59 +0000

This fixes a small repaint problem in java.awt.Component. The rectangle
calculation in reshape() was wrong, it calculated rectangle relative to
the parent's parent, which should only be relative to the parent.

2005-10-12  Roman Kennke  <address@hidden>

        * java/awt/Component.java
        (reshape): Fixed calculation of newBounds and oldBounds to create
        rectangles relative to the parent, and not to the parent's
parent.
        Solves a painting problem in an app here.


/Roman

Attachment: Component.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]