question: public void stateChanged ( ChangeEvent e ) { if ( ignoreUpdate ) { return ; } double value = ( double ) ( 1800 - setpointSlider . getValue ( ) ) / 10 ; setSetPoint ( value ) ; sim . setSetPoint ( value ) ; }
target:  Handle a change in the slider by updating the dataset value. This automatically triggers a chart repaint.