aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/Graphics.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt/Graphics.java')
-rw-r--r--libjava/java/awt/Graphics.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/libjava/java/awt/Graphics.java b/libjava/java/awt/Graphics.java
index d2207ea..c75d34e 100644
--- a/libjava/java/awt/Graphics.java
+++ b/libjava/java/awt/Graphics.java
@@ -732,14 +732,14 @@ finalize()
/*************************************************************************/
/**
- * Returns a string representation of this object.
- *
- * @param A string representation of this object.
- */
+ * Returns a string representation of this object.
+ *
+ * @param A string representation of this object.
+ */
public String
toString()
{
- return(super.toString());
+ return getClass ().getName () + "[font=" + getFont () + ",color=" + getColor () + "]";
}
public boolean