public static void addInputMode(String name,Hashtable values,boolean firstUpcase){
  initInputModes();
  inputModes.put(name,values);
  if (firstUpcase) {
    firstUppercaseInputMode.addElement(name);
  }
}

public static void addInputMode ( String name , Hashtable values , boolean firstUpcase ) { initInputModes ( ) ; inputModes . put ( name , values ) ; if ( firstUpcase ) { firstUppercaseInputMode . addElement ( name ) ; } }
adds a new inputmode hashtable with the given name and set of values
