public void addChangeListener(PropertyChangeListener newListener){
  listener.add(newListener);
}

public void addChangeListener ( PropertyChangeListener newListener ) { listener . add ( newListener ) ; }
method to add a listener
