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
Printable View
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
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