public void loadTokenDictionary(String[][] newDict){
  tokenDictionary.clear();
  for (int i=0; i < newDict.length; i++) {
    tokenDictionary.add(newDict[i][0]);
  }
  fireDictionaryChangedEvent();
}

public void loadTokenDictionary ( String [ ] [ ] newDict ) { tokenDictionary . clear ( ) ; for ( int i = 0 ; i < newDict . length ; i ++ ) { tokenDictionary . add ( newDict [ i ] [ 0 ] ) ; } fireDictionaryChangedEvent ( ) ; }
reset the dictionary ( e . g . after it ' s been edited . )
