private void addMnemonic(int index,int mnemonic){
  if (mnemonicToIndexMap == null) {
    initMnemonics();
  }
  mnemonicInputMap.put(KeyStroke.getKeyStroke(mnemonic,BasicLookAndFeel.getFocusAcceleratorKeyMask()),"setSelectedIndex");
  mnemonicToIndexMap.put(Integer.valueOf(mnemonic),Integer.valueOf(index));
}

private void addMnemonic ( int index , int mnemonic ) { if ( mnemonicToIndexMap == null ) { initMnemonics ( ) ; } mnemonicInputMap . put ( KeyStroke . getKeyStroke ( mnemonic , BasicLookAndFeel . getFocusAcceleratorKeyMask ( ) ) , "setSelectedIndex" ) ; mnemonicToIndexMap . put ( Integer . valueOf ( mnemonic ) , Integer . valueOf ( index ) ) ; }
adds the specified mnemonic at the specified index .
