Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What is best free date and time picker for java Swing?  RSS feed

 
Bin Smith
Ranch Hand
Posts: 514
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I am lookng for some pre-built, open-sourced java swing component that allows to select date and time( including seconds).

If you know one, please, share.
 
Campbell Ritchie
Sheriff
Posts: 55324
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JCalendar by Tödter is good.
 
Bin Smith
Ranch Hand
Posts: 514
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks but JCalendar doesn't allow to choose time(HH:mm:ss) but only date.

I need both time and date.
 
Campbell Ritchie
Sheriff
Posts: 55324
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Didn't realise that. Don't know any more, I am afraid.
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you considered using a JSpinner with a SpinnerDateModel? You can use it with a JSpinner.DateEditor with an appropriate format String.

Google helped me find this, but it appears to be almost 10 years old and isn't free.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!