@Override
          public void popupMenuWillBecomeInvisible(PopupMenuEvent e) {
            ApplicationManager.getApplication().invokeLater(() -> {
              popupInvoker.set(null);
            });
          }
@Override
          public void popupMenuWillBecomeInvisible(PopupMenuEvent e)