214 |
|
|
215 |
protected void addImpl(Component comp, Object constraints, int index) |
protected void addImpl(Component comp, Object constraints, int index) |
216 |
{ |
{ |
217 |
// If we're adding the rootPane (initialization stages) use super.add. |
// If we're adding in the initialization stage use super.add. |
218 |
// Otherwise pass the add onto the content pane. |
// Otherwise pass the add onto the content pane. |
219 |
if (comp==rootPane) |
if (!initStageDone) |
220 |
super.addImpl(comp, constraints, index); |
super.addImpl(comp, constraints, index); |
221 |
else |
else |
222 |
{ |
{ |