}
  public  void setLayout(LayoutManager manager)  {    // Check if we're in initialization stage.  If so, call super.setLayout    // otherwise, valid calls go to the content pane.    if (initStageDone)      {        if (isRootPaneCheckingEnabled())          throw new Error("Cannot set layout. Use getContentPane().setLayout()"                           + " instead.");        getContentPane().setLayout(manager);      }    else    super.setLayout(manager);  }