hi Ravi,
go to http://www.javadevelopersjournal.com and follow
code links to JMaskField Volume 4 issue 1 page 14.
Its probably overkill for what you need but good code.
Also I apologize to Claude for misspelling his name:
sb Claude Duguay.
hope this helps-stan

----- Original Message -----
From: "Ravi Prakash" <[EMAIL PROTECTED]>
To: "stan piper" <[EMAIL PROTECTED]>
Sent: Wednesday, February 28, 2001 2:23 PM
Subject: Re: validation of date and time in separate JtextFields


> Hi Stan,
>
> Thx for the info, could you give where to find these codes, your help will
> be appreciated.
>
> ravi
>
> stan piper wrote:
>
> > hi Ravi,
> > Basically you are going to need to extend JTextField for your own
> > needs eg JDateField and code up the Document for that class to
> > accept the input you want.
> > A good example came from Claude Ducay from JDJ around
> > September 1999 and the current issue of Java Pro has more input
> > validation code from him of interest
> > hope this helps-stan
> >
> > ----- Original Message -----
> > From: "Ravi Prakash" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Wednesday, February 28, 2001 1:38 PM
> > Subject: validation of date and time in separate JtextFields
> >
> > > Hi,
> > >
> > > Does any one know how to validate the date in a JTextfield - like they
> > > should enter the numericals as well correct date.
> > > and same applies to time also int Jtextfield.
> > >
> > > thx in advance
> > > ravi
> > >
> > > _______________________________________________
> > > Advanced-swing mailing list
> > > [EMAIL PROTECTED]
> > > http://eos.dk/mailman/listinfo/advanced-swing
>

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to