summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2006-03-03 21:12:19 +0000
committerMark Wielaard <mark@klomp.org>2006-03-03 21:12:19 +0000
commit8c0180b5fb520aed397da9e009fc1a322a9ff3a6 (patch)
treec3589af4e08c9df648bd4eaa699cfba4bbea4413
parent17a805c7f9e5666c6df3d16644a9a2776b3eb13a (diff)
downloadclasspath-8c0180b5fb520aed397da9e009fc1a322a9ff3a6.tar.gz
* java/awt/Component.java (addNotify): Expand documentation.
-rw-r--r--ChangeLog4
-rw-r--r--java/awt/Component.java9
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a789d502..72f2c58e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2006-03-03 Mark Wielaard <mark@klomp.org>
+ * java/awt/Component.java (addNotify): Expand documentation.
+
+2006-03-03 Mark Wielaard <mark@klomp.org>
+
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
Always call setParentAndBounds().
(setComponentBounds): Always call setBounds().
diff --git a/java/awt/Component.java b/java/awt/Component.java
index 667cf430e..de01fc114 100644
--- a/java/awt/Component.java
+++ b/java/awt/Component.java
@@ -3426,10 +3426,11 @@ public abstract class Component
}
/**
- * Called to inform this component it has been added to a container.
- * A native peer - if any - is created at this time. This method is
- * called automatically by the AWT system and should not be called by
- * user level code.
+ * Called when the parent of this Component is made visible or when
+ * the Component is added to an already visible Container and needs
+ * to be shown. A native peer - if any - is created at this
+ * time. This method is called automatically by the AWT system and
+ * should not be called by user level code.
*
* @see #isDisplayable()
* @see #removeNotify()