public final void addChangeListener(ChangeListener listener){
  if (!listeners.contains(listener))   listeners.add(listener);
}

public final void addChangeListener ( ChangeListener listener ) { if ( ! listeners . contains ( listener ) ) listeners . add ( listener ) ; }
add a changelistener . use settingsvalid ( ) method to read the state . to be called in edt .
