@Deprecated
  public static void requestFocus(@NotNull JComponent c) {
    if (c.isShowing()) {
      c.requestFocus();
    }
    else {
      SwingUtilities.invokeLater(c::requestFocus);
    }
  }
@Deprecated
  public static void requestFocus(@NotNull JComponent c)