@Override
    public void actionPerformed(@NotNull AnActionEvent e) {
      if (action == null) {
        button.doClick();
        return;
      }
      // also can be used something like: ApplicationManager.getApplication().invokeLater(() -> jb.doClick(), ms)
      action.actionPerformed(new ActionEvent(button, ActionEvent.ACTION_PERFORMED, null));
    }
@Override
    public void actionPerformed(@NotNull AnActionEvent e)