public void setMnemonic(int mne)
public void setMnemonic(char mne)
  public void setMnemonic(int mne)  {    int old = getModel().getMnemonic();    if (old != mne)      {    getModel().setMnemonic(mne);	if (text != null && ! text.equals(""))      {	    // Since lower case char = upper case char for 	    // mnemonic, we will convert both text and mnemonic 	    // to upper case before checking if mnemonic character occurs	    // in the menu item text. 	    int upperCaseMne = Character.toUpperCase((char) mne);	    String upperCaseText = text.toUpperCase();	    setDisplayedMnemonicIndex(upperCaseText.indexOf(upperCaseMne));	  }        firePropertyChange(MNEMONIC_CHANGED_PROPERTY, old, mne);        revalidate();        repaint();      }  }