How to create JSpinner component with hour value?
This example shows you how to create a
JSpinner that allow you to select an hour value. As the spinner model we are using the
SpinnerDateModel and set the calendar field to
The correctly display the hour value on the spinner we also change the formater of the spinner's text field to a