public static void registerMnemonic(@NotNull AbstractButton button, char mn) {
    setTextWithMnemonic(button, button.getText(), mn);
  }
public static void registerMnemonic(@NotNull AbstractButton button, char mn)