{ if (isRootPaneCheckingEnabled()) throw new Error("rootPaneChecking is enabled - adding components " + "disallowed."); getContentPane().add(comp,constraints,index); }
super.addImpl(comp, constraints, index);
    protected  void addImpl(Component comp, Object constraints, int index)  {    // If we're adding in the initialization stage use super.add.    // Otherwise pass the add onto the content pane.    if (!initStageDone)    super.addImpl(comp, constraints, index);    else      {        if (isRootPaneCheckingEnabled())          throw new Error("rootPaneChecking is enabled - adding components "                           + "disallowed.");        getContentPane().add(comp,constraints,index);      }  }