Commit 0983da5b by Tom Tromey Committed by Tom Tromey

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

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

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

From-SVN: r49206
parent 3a9ebf3c
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.
......
......@@ -905,11 +905,8 @@ public class Container extends Component
*/
public void addNotify ()
{
if (peer == null)
{
addNotifyContainerChildren ();
super.addNotify();
}
addNotifyContainerChildren ();
super.addNotify();
}
private void addNotifyContainerChildren()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment