|
-
November 16th, 1999, 10:26 PM
#1
how to validate a date on a jtextfield ?
how do i validate a jtextfield which only allow dd/mm/yyyy in it.
the length must be 10 and any other format will cause an error to pop out.
any help is much appreciated.
thanks
http://members.xoom.com/lookads
-
November 17th, 1999, 08:13 AM
#2
Re: how to validate a date on a jtextfield ?
Well I have developed JDateTextField. U will find it at...
http://codeguru.developer.com/java/swing
Read the article. It doesn't validate using the format u specified, u can create '...Format'. If u want to restrict the keys then u can create '...Listener' for ur purpose.
- UnicMan
http://members.tripod.com/unicman
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|