I want to have a date picker for my application.
It should be really simple...

I went through many examples.
But all I found contains very large files (LOCs)....How can I impliment a simple calender? to pick a date and time....

(jst wanna use them in two comboboxes... to pick the date & time)

plz help

thankx in advance...

8 Years
Discussion Span
Last Post by javaAddict

You think that is simple??

They are classes provided by java.

For the Date Picker, SpinnerDateModel works on its own and is very simple. Just read its API, initialize it and put it in your frame. Then use the methods described in the API to get the date value.

If you want a time picker as well you might want to extend the AbstractSpinnerModel and read its API which is at the link I gave you.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.