public void removeProgressListener(ActionListener<NetworkEvent> al){
  if (progressListeners == null) {
    return;
  }
  progressListeners.removeListener(al);
  Collection v=progressListeners.getListenerCollection();
  if (v == null || v.size() == 0) {
    progressListeners=null;
  }
}

public void removeProgressListener ( ActionListener < NetworkEvent > al ) { if ( progressListeners == null ) { return ; } progressListeners . removeListener ( al ) ; Collection v = progressListeners . getListenerCollection ( ) ; if ( v == null || v . size ( ) == 0 ) { progressListeners = null ; } }
adds a listener to be notified when progress updates
