Container.java (addNotify): Unconditionally call addNotifyContainerChildren and superclass addNotify.

* java/awt/Container.java (addNotify): Unconditionally call
	addNotifyContainerChildren and superclass addNotify.

From-SVN: r49206
This commit is contained in:
Tom Tromey 2002-01-25 07:04:06 +00:00 committed by Tom Tromey
parent 3a9ebf3ced
commit 0983da5b0f
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,8 @@
2002-01-24 Tom Tromey <tromey@redhat.com>
* java/awt/Container.java (addNotify): Unconditionally call
addNotifyContainerChildren and superclass addNotify.
* java/awt/image/ColorModel.java (getAlpha(Object)): Call
getAlpha, not getBlue.

View File

@ -905,11 +905,8 @@ public class Container extends Component
*/
public void addNotify ()
{
if (peer == null)
{
addNotifyContainerChildren ();
super.addNotify();
}
addNotifyContainerChildren ();
super.addNotify();
}
private void addNotifyContainerChildren()