code: public void fireChange() {
          if (getNotification() && listeners != null) {
              EventObject event = new EventObject(this);
              for (int i = 0; i < listeners.size(); i++) {
                  listeners.get(i).stateChanged(event);
              }
          }
      }
docs: Notifies registered listeners of certain changes that have occurred in
  this model.