aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Is there any componenet in swing that allows me to get the calender in box shaped gui. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Is there any componenet in swing that allows me to get the calender in box shaped gui." Watch "Is there any componenet in swing that allows me to get the calender in box shaped gui." New topic
Author

Is there any componenet in swing that allows me to get the calender in box shaped gui.

Yuta Lolap
Ranch Hand

Joined: Jun 03, 2012
Posts: 80

I need a calnder like the one we see in the windows right hand corner when we click on the time and choose the day. I am unable to find it. Please help me. Also i wanna store the date from that calender into a string and then compare it to a sql date to see if the months match. Please can you help me.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
try (toedter's ?) JCalendar, but it's simple enough to build yourself
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

There's also the JXDatePicker from the SwingLabs project: http://swingx.java.net/

edit: Screenshots and sample usage here: http://www.javalobby.org/java/forums/t45447.html


luck, db
There are no new questions, but there may be new answers.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Yuta Lolap wrote:Also i wanna store the date from that calender into a string and then compare it to a sql date to see if the months match. Please can you help me.

Sounds like a bad idea to me. Use available API (probably via Calendar) to obtain the months for comparison, not a String intermediary.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is there any componenet in swing that allows me to get the calender in box shaped gui.
 
Similar Threads
ical4j for calender service
how to make a calendar using Date, Calender and Data Class
Reading date from Oracle based on calendar
scw.js calender widget
how to create a calander in jsp (outlook calander and box calander)