2

i'm trying to include in my GUI a date/time picker. How can i do this?. Could someone tell me or give me a link to a tutorial?.

Rory Lester
  • 2,858
  • 11
  • 49
  • 66
  • see this question http://stackoverflow.com/questions/1339354/what-are-good-java-date-chooser-swing-gui-widgets – Manish Feb 20 '12 at 10:29

1 Answers1

3

I don't think there is a Date Picker inside Swing SDK. So you should implement the date picker by yourself, or use a third party.

Please check this tutorial for implementing one. You can also use a open source third party like JCalendar.

Rudy
  • 7,008
  • 12
  • 50
  • 85
  • There is indeed no standard date picker. Ofcourse you can implement one yourself, or you can find date pickers that others have implemented on the web; check if you can find one that suits your needs and that you can use (check the license). – Jesper Feb 20 '12 at 10:31