I am looking for a component for Swing that would do the same thing that Windows 7 date and time pickers do (or be even better). They look so:
And have following features I need:
- you cannot enter an invalid value (value is ignored as you type and not when you leave the field)
- it allows continuous updating of the field until the first change made by user (take a look on the time setting in Windows 7)
- you can select and change at once only one position - not the whole text at once (so colons and points cannot be removed)
- up and down buttons
- calendar button (but it's rather optional for me)
I have tried JSpinner with a DateEditor but it doesn't have this features. JXDatePicker only adds the calendar button.
Generally I am looking for a nice way to let user enter date and time in a powerful and simple way. Windows 7 solution seems to be quite good.
Thank you!