summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/javax/swing/LookAndFeel.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/swing/LookAndFeel.java')
-rw-r--r--libjava/classpath/javax/swing/LookAndFeel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/classpath/javax/swing/LookAndFeel.java b/libjava/classpath/javax/swing/LookAndFeel.java
index 1a67e849735..358a811b362 100644
--- a/libjava/classpath/javax/swing/LookAndFeel.java
+++ b/libjava/classpath/javax/swing/LookAndFeel.java
@@ -300,11 +300,11 @@ public abstract class LookAndFeel
/**
* Returns a string that displays and identifies this object's properties.
*
- * @return the string "LookAndFeel"
+ * @return string containing the description and class name.
*/
public String toString()
{
- return "LookAndFeel";
+ return getDescription() + " " + getClass().getName();
}
/**
OpenPOWER on IntegriCloud