summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorTania Bento <tbento@redhat.com>2006-11-01 16:59:53 +0000
committerTania Bento <tbento@redhat.com>2006-11-01 16:59:53 +0000
commit8480667d7fdb96a20134cc3d5e24cbfc45436471 (patch)
treea28a4e20afc97182160b7bf81c3695a9b9ef2af9 /java
parentb2041aadd4dc48f3191ee6281d5e647faf574d81 (diff)
downloadclasspath-8480667d7fdb96a20134cc3d5e24cbfc45436471.tar.gz
2006-11-01 Tania Bento <tbento@redhat.com>
* java/awt/GridBagLayout.java (toString): Implemented method.
Diffstat (limited to 'java')
-rw-r--r--java/awt/GridBagLayout.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/awt/GridBagLayout.java b/java/awt/GridBagLayout.java
index d84b7d6df..45ba859d8 100644
--- a/java/awt/GridBagLayout.java
+++ b/java/awt/GridBagLayout.java
@@ -320,6 +320,16 @@ public class GridBagLayout
}
/**
+ * Return a string representation of this GridBagLayout.
+ *
+ * @return a string representation
+ */
+ public String toString()
+ {
+ return getClass().getName();
+ }
+
+ /**
* Move and resize a rectangle according to a set of grid bag
* constraints. The x, y, width and height fields of the
* rectangle argument are adjusted to the new values.