Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Swing Date Picker

 
Rus Corina
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. Does anybody know if Java Swing has a graphical date picker? I have a JTextField where i need a date as an input, and i need a graphical calendar from which to choose the date (i need it to open when i click a button, close when a date is selected, and be able to choose there the month and the year from a list). Or if you know a link to an application of this type created by someone.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
google JCalender
 
Rus Corina
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, but i didn't find a graphical calendar. And by that i mean a jdialog in which you have the possibility to choose month,year and day, just like in a normal calendar.
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Really. A simple search for jcalendar as Michael suggested gave me several results, among which http://www.toedter.com/en/jcalendar/, http://www.zfqjava.com/docs-calendar.html and http://freshmeat.net/projects/jcalendar4swing/ - and that's only a few from page 1.
 
Rus Corina
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know, I found a lot. Don't really know how to use them or if I can integrate them in my application but I'll figure it out. Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic