code: public static void setMnemonic(AbstractButton button, String mnemonic) {
          char c = ShortTypeHandling.castToChar(mnemonic);
          button.setMnemonic(c);
      }
docs: Allows the usage of a one-element string for a mnemonic
  @param button a AbstractButton
  @param mnemonic the String
  @since 2.3.7