summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLillian Angel <langel@redhat.com>2006-05-04 19:08:52 +0000
committerLillian Angel <langel@redhat.com>2006-05-04 19:08:52 +0000
commite537afd13cf01bb20491e371bdab7efaad3b077b (patch)
treeb93b4569e2caa9e2bd557afb76c2e9b3b4cd2a35
parent282091173a7e2729106d4b782d7bd7d98837dbba (diff)
downloadclasspath-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--ChangeLog7
-rw-r--r--javax/swing/JLabel.java6
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d2b8951af..174bb1911 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}
/**