📜  Jspinner 最大值和最小值 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:47.362000             🧑  作者: Mango

代码示例1
// 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);