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> 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 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
getAlpha, not getBlue. getAlpha, not getBlue.
......
...@@ -905,12 +905,9 @@ public class Container extends Component ...@@ -905,12 +905,9 @@ public class Container extends Component
*/ */
public void addNotify () public void addNotify ()
{ {
if (peer == null)
{
addNotifyContainerChildren (); addNotifyContainerChildren ();
super.addNotify(); super.addNotify();
} }
}
private void addNotifyContainerChildren() 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