How to make JavaFX Slider to move in discrete steps?
<p>I am making a <code>GUI</code> using <code>JavaFx</code> and I need sliders that only allow <code>integers</code> to ever be selected.</p>

<p>I know I can use <code>snapToTicks</code>, but while pulling the <code>"knob"</code>, it can still represent a <code>non-integer</code> value. I would like to get rid of that. It messes up other components linked to it.</p>

<p>Basically, I want something like <code>Swing's JSlider</code>, but with <code>JavaFx</code>. Is it possible? I have been searching but I can't find anything.</p>