views:

163

answers:

3

I have the datepicker component in the format of MM/dd/yyyy, But I want to create date picker in java the form of dd/MM/yyyy. So where can I get the suggestion or related solutions. Please give the basic idea about that. Thanks in Advance..

+1  A: 

in JXDatePicker you can use setFormats to change the date format. see this page and this one.

if you're talking about writing your own component from scratch then you'll need to implement the entire thing, which seems like a bit of a waste of time?

oedo
A: 

Try JCalendar

you can download it from http://www.toedter.com/en/jcalendar/index.html

RaviG
A: 

The Any+Time™ DatePicker/TimePicker AJAX Calendar Widget allows you to specify dates in whatever format you'd like. It also has WAI/ARIA keyboard support and extensive CSS customization options, including jQuery UI support.

Andrew M. Andrews III
My apologies, I thought the question said JavaScript, not Java. If you're looking for something to use on the web, then this might still be a viable option. But if you're looking at a stand-alone Java app then my answer was way off base. Sorry for any confusion.
Andrew M. Andrews III