void (PopupMenuEvent e) { myHandleDispose = false; Disposer.dispose(this); myComponent.putClientProperty("PopupHideInProgress", Boolean.TRUE); myAlarm.addRequest(() -> myComponent.putClientProperty("PopupHideInProgress", null), 500); }