I've spent enough time in
JSpinner Purgatory™ to know how to stay out of trouble. For integers, a
JSpinner is great - easy for the user, and you never have to error-check the return value. For anything else, they're awful. A
JComboBox is great for giving a choice of text values. For anything else, they're awful.
For slideshow timing, I'd just give the user whole seconds. If you want to give them more granularity, give them a spinner in milliseconds, with something like
SpinnerNumberModel(4000, 2000, 9000, 500). The 500 interval makes it easier for the user. But if he wants the slideshow timing to be ridiculously precise, he can enter 5637ms! Just remember to do your own
/1000f, or the slideshow will never end.
