#navi(contents-page-name): No such page: ST

FrontPage

Terai Atsuhiro

2021-12-01 (水) 08:32:43

http://terai.s55.xrea.com/swing/spinnereditor/screenshot.png

SpinnerNumberModel model = new SpinnerNumberModel(10, 0, 1000, 1);
JSpinner spinner = new JSpinner(model);
((JSpinner.NumberEditor)spinner.getEditor()).getTextField().setEditable(false);