148 |
|
|
149 |
protected void addImpl(Component comp, Object constraints, int index) |
protected void addImpl(Component comp, Object constraints, int index) |
150 |
{ |
{ |
151 |
// If we're adding the rootPane (initialization stages) use super.add. |
// If we're adding in the initialization stage use super.add. |
152 |
// Otherwise pass the add onto the content pane. |
// Otherwise pass the add onto the content pane. |
153 |
if (comp == rootPane) |
if (!initStageDone) |
154 |
super.addImpl(comp, constraints, index); |
super.addImpl(comp, constraints, index); |
155 |
else |
else |
156 |
{ |
{ |