A
arun.viswanath
Hi,
I'm have n JTextField and one "Ok" and "Cancel" button in my form.
I want to validate the date entered in TextField but my validation is
depends on the component focus.
Say If I press the Cancel Button I dont want to validate the data in
Textfield.
So before validation I want to get the current focus i.e the focus is
on which component, Based on it I will either validate or not validate
my text field data.
Thanks in Advance,
Arun.
I'm have n JTextField and one "Ok" and "Cancel" button in my form.
I want to validate the date entered in TextField but my validation is
depends on the component focus.
Say If I press the Cancel Button I dont want to validate the data in
Textfield.
So before validation I want to get the current focus i.e the focus is
on which component, Based on it I will either validate or not validate
my text field data.
Thanks in Advance,
Arun.