public TextTable(final Set<String> dictionary){
  init(dictionary.size(),1);
  int i=0;
  for (  String string : dictionary) {
    setLogicalValue(i,0,string,false);
    i++;
  }
  fireTableDataChanged();
}

public TextTable ( final Set < String > dictionary ) { init ( dictionary . size ( ) , 1 ) ; int i = 0 ; for ( String string : dictionary ) { setLogicalValue ( i , 0 , string , false ) ; i ++ ; } fireTableDataChanged ( ) ; }
construct table from a set of strings .
