Spinner control value

Peter Penzov peter.penzov at gmail.com
Fri Dec 12 08:33:32 UTC 2014


Hi All,

 I'm using Spinner from 8u40b17.

SpinnerValueFactory svf = new
SpinnerValueFactory.IntegerSpinnerValueFactory(0, 100);

    Spinner sp = new Spinner();
    sp.setValueFactory(svf);
    sp.setEditable(true);
    sp.setPrefWidth(80);

I noticed that when I enter some value from keyboard and I increase the
value the expected number is not the next. Instead of this it's the next
default value. How I can fix this?

Fox example if I have 5 as default value and I enter 34. When I press the
upper arrow I get 6.


BR,

Peter


More information about the openjfx-dev mailing list