I have the following listener to detect when I use a JavaFX slider:
Slider slider1 = new Slider(min, max, value); Slider.valueProperty().addListe