A change listener can be added to Slider like this.
slider.valueProperty().addListener(new ChangeListener<Number>() {
public void changed(ObservableValue<? extends Number> o,
Number old, Number newValue) {
}
});
I only want to receive events after the user has finished sliding, i.e. released the mouse, or finger etc. I've tried using the isValueChanging() method but this always returns true when changing the value with the mouse.
Swing's original JSlider had a isValueAdjusting() which worked by returning true, and then false once the value was set. Is there anyway of achieving the same effect with JavaFX?