diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | java/awt/Component.java | 9 |
2 files changed, 9 insertions, 4 deletions
@@ -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() |