diff options
Diffstat (limited to 'libjava/java/awt')
-rw-r--r-- | libjava/java/awt/Container.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libjava/java/awt/Container.java b/libjava/java/awt/Container.java index ca9794b..0995a74 100644 --- a/libjava/java/awt/Container.java +++ b/libjava/java/awt/Container.java @@ -905,11 +905,8 @@ public class Container extends Component */ public void addNotify () { - if (peer == null) - { - addNotifyContainerChildren (); - super.addNotify(); - } + addNotifyContainerChildren (); + super.addNotify(); } private void addNotifyContainerChildren() |