Borut Flis
Borut Flis

Reputation: 16375

Add a date picker in jframe?

I would like to add a Datepicker in Jframe? Is that possible?, do you reccomend any specific library with a date picker?

Upvotes: 0

Views: 5445

Answers (2)

tenorsax
tenorsax

Reputation: 21223

May be JCalendar. It's open source, supports LaF, localized. Here is its online demo.

You may also consider DateSpinner. It is part of JIDE's open source layer. JIDE also offers DateChooserPanel but it is part of Grids library, which is not free.

Upvotes: 1

Robin
Robin

Reputation: 36611

If you find a Swing library which offers such a date picker, it will most likely by a JComponent which can be added to a JFrame (if this would not be the case, no Swing developer in his right mind would want to use the library).

I have no personal experience with the JXDatePicker from the SwingX project, but every one of the components from SwingX I already tried have a decent API and a nice behavior, so I dare recommending the JXDatePicker.

Upvotes: 2

Related Questions