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