else { if (isRootPaneCheckingEnabled()) throw new Error("Do not use add() on JApplet directly. Use " + "getContentPane().add() instead"); getContentPane().add(comp, constraints, index); }
    protected  void addImpl(Component comp, Object constraints, int index)  {    super.addImpl(comp, constraints, index);  }