public static synchronized void addPropertyChangeListener(PropertyChangeListener l){
  if (!listeners.contains(l)) {
    listeners.add(l);
  }
}

public static synchronized void addPropertyChangeListener ( PropertyChangeListener l ) { if ( ! listeners . contains ( l ) ) { listeners . add ( l ) ; } }
register for notification on changes to specific types
