A mauve test that I just committed shows that JLabels should have an
alignmentX of 0.0F. Fixed.

2005-10-06  Roman Kennke  <[EMAIL PROTECTED]>

        * javax/swing/JLabel.java
        (JLabel): Set alignmentX value to 0.0F.


/Roman
Index: javax/swing/JLabel.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JLabel.java,v
retrieving revision 1.26
diff -u -r1.26 JLabel.java
--- javax/swing/JLabel.java	22 Sep 2005 14:48:05 -0000	1.26
+++ javax/swing/JLabel.java	6 Oct 2005 19:42:53 -0000
@@ -400,6 +400,7 @@
     this.text = text;
     this.icon = icon;
     this.horizontalAlignment = horizontalAlignment;
+    setAlignmentX(0.0F);
     updateUI();
   }
 
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to