initStageDone = true;
setRootPaneCheckingEnabled(true);
  protected void windowInit()    {      super.setLayout(new BorderLayout(1, 1));      getRootPane(); // will do set/create    // Now we're done init stage, adds and layouts go to content pane.    initStageDone = true;    }