public static void requestFocusInNonFocusedWindow(@NotNull MouseEvent event) {
    if (event.getID() == MOUSE_PRESSED) {
      // request focus by mouse pressed before focus settles down
      requestFocusInNonFocusedWindow(event.getComponent());
    }
  }
public static void requestFocusInNonFocusedWindow(@NotNull MouseEvent event)