setRootPaneCheckingEnabled(false);
  protected void dialogInit()  {    // FIXME: Do a check on GraphicsEnvironment.isHeadless()    setRootPaneCheckingEnabled(false);    setLocale(JComponent.getDefaultLocale());           getRootPane(); // will do set/create      setRootPaneCheckingEnabled(true);        invalidate();    }