public void fireSelectedComponentChanged(){
  final ComponentSelectionListener[] listeners=myListenerList.getListeners(ComponentSelectionListener.class);
  for (  ComponentSelectionListener listener : listeners) {
    listener.selectedComponentChanged(this);
  }
}

public void fireSelectedComponentChanged ( ) { final ComponentSelectionListener [ ] listeners = myListenerList . getListeners ( ComponentSelectionListener . class ) ; for ( ComponentSelectionListener listener : listeners ) { listener . selectedComponentChanged ( this ) ; } }
fires event that selection changes
