if (comp==rootPane)
if (comp==rootPane || ! isRootPaneCheckingEnabled())
  public void remove(Component comp)  {    // If we're removing the root pane, use super.remove.  Otherwise    // pass it on to the content pane instead.    if (comp==rootPane)    super.remove(comp);    else      getContentPane().remove(comp);  }