@Override public void hide(){
  if (displayWindow != null) {
    displayWindow.setVisible(false);
    displayWindow.removeWindowFocusListener(this);
    displayWindow=null;
  }
  if (topWindow != null) {
    topWindow.removeComponentListener(this);
    topWindow=null;
  }
  if (optionalCustomPopupCloseListener != null) {
    optionalCustomPopupCloseListener.zEventCustomPopupWasClosed(this);
    optionalCustomPopupCloseListener=null;
  }
}

@ Override public void hide ( ) { if ( displayWindow != null ) { displayWindow . setVisible ( false ) ; displayWindow . removeWindowFocusListener ( this ) ; displayWindow = null ; } if ( topWindow != null ) { topWindow . removeComponentListener ( this ) ; topWindow = null ; } if ( optionalCustomPopupCloseListener != null ) { optionalCustomPopupCloseListener . zEventCustomPopupWasClosed ( this ) ; optionalCustomPopupCloseListener = null ; } }
hide , this hides the popup window . this removes this class from the list of window focus listeners for the popup window , and removes this class from the list of window movement listeners for the top window . this can be called internally or externally . if this is called multiple times , then only the first call will have an effect .
