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
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: 83

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: 4658
    
    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: 4658
    
    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.
 
jQuery in Action, 2nd edition
 
subject: Is there any componenet in swing that allows me to get the calender in box shaped gui.