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