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:
parent
3a9ebf3ced
commit
0983da5b0f
@ -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.
|
||||
|
||||
|
@ -905,11 +905,8 @@ public class Container extends Component
|
||||
*/
|
||||
public void addNotify ()
|
||||
{
|
||||
if (peer == null)
|
||||
{
|
||||
addNotifyContainerChildren ();
|
||||
super.addNotify();
|
||||
}
|
||||
addNotifyContainerChildren ();
|
||||
super.addNotify();
|
||||
}
|
||||
|
||||
private void addNotifyContainerChildren()
|
||||
|
Loading…
Reference in New Issue
Block a user