# JSpinner decimal input

posted 10 years ago

Is it possible to configure a JSpinner so that it will allow me to format a field for input of a value with 3 decimal places. I have tried several ways some of which display 0.000 etc but when I exit the field the value to the right if the decimal point reset back to .000

Some posts imply that a spinner can only handle integers. If so what would the best alternative be ?

Thanks in advance

Dave

Some posts imply that a spinner can only handle integers. If so what would the best alternative be ?

Thanks in advance

Dave