diff options
author | Lillian Angel <langel@redhat.com> | 2006-05-04 19:08:52 +0000 |
---|---|---|
committer | Lillian Angel <langel@redhat.com> | 2006-05-04 19:08:52 +0000 |
commit | e537afd13cf01bb20491e371bdab7efaad3b077b (patch) | |
tree | b93b4569e2caa9e2bd557afb76c2e9b3b4cd2a35 | |
parent | 282091173a7e2729106d4b782d7bd7d98837dbba (diff) | |
download | classpath-e537afd13cf01bb20491e371bdab7efaad3b077b.tar.gz |
2006-05-04 Lillian Angel <langel@redhat.com>
* javax/swing/JLabel.java
(JLabel): Pass in an empty string for the text parameter.
(JLabel): Likewise.
(JLabel): Likewise.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | javax/swing/JLabel.java | 6 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,10 @@ +2006-05-04 Lillian Angel <langel@redhat.com> + + * javax/swing/JLabel.java + (JLabel): Pass in an empty string for the text parameter. + (JLabel): Likewise. + (JLabel): Likewise. + 2006-05-04 Roman Kennke <kennke@aicas.com> * javax/swing/plaf/basic/BasicButtonListener.java diff --git a/javax/swing/JLabel.java b/javax/swing/JLabel.java index d8e135f11..a993fb8f3 100644 --- a/javax/swing/JLabel.java +++ b/javax/swing/JLabel.java @@ -344,7 +344,7 @@ public class JLabel extends JComponent implements Accessible, SwingConstants */ public JLabel() { - this(null, null, LEADING); + this("", null, LEADING); } /** @@ -355,7 +355,7 @@ public class JLabel extends JComponent implements Accessible, SwingConstants */ public JLabel(Icon image) { - this(null, image, CENTER); + this("", image, CENTER); } /** @@ -368,7 +368,7 @@ public class JLabel extends JComponent implements Accessible, SwingConstants */ public JLabel(Icon image, int horizontalAlignment) { - this(null, image, horizontalAlignment); + this("", image, horizontalAlignment); } /** |