1 |
/* Panel.java -- Simple container object. |
/* Panel.java -- Simple container object. |
2 |
Copyright (C) 1999 Free Software Foundation, Inc. |
Copyright (C) 1999, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
79 |
public void |
public void |
80 |
addNotify() |
addNotify() |
81 |
{ |
{ |
82 |
if (getPeer() != null) |
if (peer == null) |
83 |
return; |
peer = getToolkit().createPanel(this); |
84 |
|
super.addNotify(); |
|
setPeer((ComponentPeer)getToolkit().createPanel(this)); |
|
85 |
} |
} |
86 |
|
|
87 |
} // class Panel |
} // class Panel |