Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Jspinner max and min value

// Current value, Min value, Max value, Step
SpinnerNumberModel spinnerModel = new SpinnerNumberModel(5, 0, 10, 1);
// In this example, Min is 0, Max is 10, Step/Increment is 1, and 5 is the set value
JSpinner spinner = new JSpinner(spinnerModel);
 
PREVIOUS NEXT
Tagged: #Jspinner #max #min
ADD COMMENT
Topic
Name
4+3 =