I’m trying to make a complex calculator and the user has to select from a jSpinner a value between 1 and 12. Can you tell me how to set the jSpinner’s minimum value to 1 and maximum value to 12?
Also how do you check which item is selected in a jSpinner?
I’m using Netbeans 7.0.1
A spinner with a minimum value of 1 and maximum value of 12.
And to get the value use: