public void addListener ( ChangeListener listener ) { synchronized ( hsChangeListeners ) { hsChangeListeners . add ( listener ) ; changeListenerCount = hsChangeListeners . size ( ) ; bUpdateChangeListener = true ; } }
This adds a new change listener to the Change listener .