classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: JComponent fixes


From: Roman Kennke
Subject: [cp-patches] FYI: JComponent fixes
Date: Tue, 08 Nov 2005 14:02:42 +0000

I committed the attached patch which fixes (or better: implements) the
get/setAlignmentX/Y() methods in JComponent.

2005-11-08  Roman Kennke  <address@hidden>

        * javax/swing/JComponent.java
        (alignmentX): Changed default value to -1.0.
        (alignmentY): Changed default value to -1.0.
        (getAlignmentX): If no value has been set, refer to the superclass
        behaviour.
        (getAlignmentY): If no value has been set, refer to the superclass
        behaviour.
        (setAlignmentX): Catch invalid values and adjust them to the
nearest
        valid value.
        (setAlignmentY): Catch invalid values and adjust them to the
nearest
        valid value.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

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