@Override public void zEventCustomPopupWasClosed(CustomPopup popup){
  popup=null;
  if (timeMenuPanel != null) {
    timeMenuPanel.clearParent();
  }
  timeMenuPanel=null;
  lastPopupCloseTime=Instant.now();
}

@ Override public void zEventCustomPopupWasClosed ( CustomPopup popup ) { popup = null ; if ( timeMenuPanel != null ) { timeMenuPanel . clearParent ( ) ; } timeMenuPanel = null ; lastPopupCloseTime = Instant . now ( ) ; }
zeventcustompopupwasclosed , this is called automatically whenever the custompopup that is associated with this time picker is closed . this should be called regardless of the type of event which caused the popup to close . notes : the popup can be automatically closed for various reasons . 1 ) the user may press escape . 2 ) the popup may lose focus . 3 ) the window may be moved . 4 ) the user may toggle the popup menu with the " toggle time menu " button . 5 ) the user may select a time in the popup menu .
