It's not a secret anymore!
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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: display a DateChooser on the click of a button.
 
It's not a secret anymore!