Reputation: 1736
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:
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!
Upvotes: 4
Views: 4518
Reputation: 109815
best and free DatePickers around are JXDatePicker
and JCalendar, in both cases are there focus about correct implementations of Date
and Focus
workaround, and excelent Renderer and Editor
for JTree / JTreeTable / JTable
to your needs ---> all these funcionalities are implemented by default, not clear from your questions exactly whats wrong, I'm Win7
and JXDatePicker
and JCalendar
but I never saw these issues,
in both cases you have to implementing own workaround for SpecialDays
as hollydays (and etc),
Upvotes: 3