public synchronized void addListener(Listener l){
  listeners.add(l);
}

public synchronized void addListener ( Listener l ) { listeners . add ( l ) ; }
adds a listener to receive progress notifications .
