initStageDone = true;
setRootPaneCheckingEnabled(true);
  protected void dialogInit()  {    // FIXME: Do a check on GraphicsEnvironment.isHeadless()    setLocale(JComponent.getDefaultLocale());           getRootPane(); // Will do set/create.    invalidate();    // Now that initStageDone is true, adds and layouts apply to contentPane,    // not top-level.    initStageDone = true;  }