@Override
  public void actionPerformed(final @NotNull AnActionEvent e) {
    Window window = KeyboardFocusManager.getCurrentKeyboardFocusManager().getActiveWindow();
    if (window instanceof Frame) {
      ((Frame)window).setState(Frame.ICONIFIED);
    }
  }
@Override
  public void actionPerformed(final @NotNull AnActionEvent e)