listenerList.add(PropertyChangeListener.class, listener);
if (changeSupport == null) changeSupport = new SwingPropertyChangeSupport(this); changeSupport.addPropertyChangeListener(listener);
  public void addPropertyChangeListener(PropertyChangeListener listener)  {    listenerList.add(PropertyChangeListener.class, listener);  }