Here is the code.
Now if i creat SimpleDateFormat with the
string MM/dd/yy the behaviour of JtextField is normal.
By normal i mean it accepts date as 11/11/11 only and not 11/11/11111111
But if i create SimpleDateFormate with String MM/dd/yyyy
the formattted textfield can accept year upto 9 digit.
i mean i can enter date as
02/03/12345678
Howver i was expecting that user can only enter
02/03/1234 [after validation]
but he can enter value
02/03/12345678
??
any idea??
the validation for MM/dd/yy is working fine.
here is the
test code
[ July 23, 2003: Message edited by: aminur rashid ]