JSpinner question



I want my JSpinner control to change step based on current value of
spinner

Like this: if spinner value is less that 10 step is 1, if spinner value
becomes more than 10 step will be 3

Thanks,
Alex

.