setDisplayedMnemonic((char) key);
if (displayedMnemonic != mnemonic) { firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, displayedMnemonic, mnemonic); displayedMnemonic = mnemonic;  if (text != null) setDisplayedMnemonicIndex(text.indexOf(mnemonic)); }
  public void setDisplayedMnemonic(int key)  {    setDisplayedMnemonic((char) key);  }