public synchronized void removeSelectionListener(SelectionListener listener){
  if (listeners != null) {
    listeners.removeElement(listener);
  }
}

public synchronized void removeSelectionListener ( SelectionListener listener ) { if ( listeners != null ) { listeners . removeElement ( listener ) ; } }
remove a selectionlistener from the listener list .
