Link to home
Start Free TrialLog in
Avatar of intermiras
intermiras

asked on

jpanel change listener

hellou
is there any simple way to check changes in jpanel members (jtextfields)?

regards
interm
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

You could add an actionListener to the JTextFields and flag a boolean value.
You can add an ActionListener to the JTextFields which will be notified when chnages occur.
I guess it should be a Text-listener for the JTextField, implementing the textValueChanged () method.

Mayank.
Or a CaretListener...
ASKER CERTIFIED SOLUTION
Avatar of ozymandias
ozymandias
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial