aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes display a DateChooser on the click of a button. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "display a DateChooser on the click of a button." Watch "display a DateChooser on the click of a button." New topic
Author

display a DateChooser on the click of a button.

soudamini shirkhedkar
Greenhorn

Joined: Apr 24, 2004
Posts: 2
Hi
I want to display a DateChooser that will come as a small pop-up window on the click of a JButton.
Any clues of how to do that?
Thanks.
Soudamini
Carlos Failde
Ranch Hand

Joined: Oct 20, 2000
Posts: 84
I am going to assume you mean DateChooser but I could be way off.
Add an action listener to your button that constructs a new DateChooser, displays it, and then queries it for the selected date.

[ April 25, 2004: Message edited by: Carlos Failde ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: display a DateChooser on the click of a button.