public void addTableModelListener(TableModelListener l){
  if (!listeners.contains(l))   listeners.add(l);
}

public void addTableModelListener ( TableModelListener l ) { if ( ! listeners . contains ( l ) ) listeners . add ( l ) ; }
adds a listener to the list that is notified each time a change to the data model occurs .
