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