//
    // Popup methods
    //
    public void hide() {
      super.hide();

      Container component = (Container) getComponent();

      component.removeAll();
      recycleLightWeightPopup(this);
    }
 public void hide() {
   super.hide();
   rootPane.getContentPane().removeAll();
   recycleMediumWeightPopup(this);
 }