public void addToDictionary(String s){
  if (!getAutoComplete())   return;
  if (dict == null) {
    setUp();
    this.dict=createDefaultDictionary();
  }
  dict.addEntry(s.trim());
}

public void addToDictionary ( String s ) { if ( ! getAutoComplete ( ) ) return ; if ( dict == null ) { setUp ( ) ; this . dict = createDefaultDictionary ( ) ; } dict . addEntry ( s . trim ( ) ) ; }
adds the specified string to the underlying dictionary
