DateChooserPanel in version 0.6.0

A discussion forum for the JCommon class library.
Locked
Jim B.

DateChooserPanel in version 0.6.0

Post by Jim B. » Fri Apr 05, 2002 6:03 pm

Hi,
I was previously using DateSelectorDialog from which I used to choose a Date of the month. This was a Dialog component, so it returned me a Date value into a desired textfield.

Now I see you've got a nice DateChooserPanel in your library, so I've decided to have a go with it.

Say I've got a textField I want to input a date in, and a button that triggers the date dialog. How do I bring up the DateChooserPanel and then dispose it after selecting a date? The selected date must be written to the textfield.

thanks a lot
jim

David Gilbert

Re: DateChooserPanel in version 0.6.0

Post by David Gilbert » Mon Apr 08, 2002 9:34 am

Hi Jim,

You would have to write some additional code to display the panel in a dialog. A better solution for you might be the following components:

http://web.ukonline.co.uk/mseries/

I haven't tried them yet...if you try them, could you post a quick message here with your assessment of them?

Regards,

DG.

Locked