@Override
    public void requestFocus(@Nullable Window window) {
      EDT.assertIsEdt();

      if (window != null) {
        window.toFront();

        try {
          Desktop.getDesktop().requestForeground(false);
        }
        catch (Exception e) {
          LOG.error(e);
        }
      }
      else {
        requestFocus();
      }
    }
@Override
    public void requestFocus(@Nullable Window window)