I really do not want to listen to DocumentListener. It generates too many events for me.
I am interested in listening only when the focus moves away from this specific JtextField.
Adding ActionListener will generate an event only when return key is pressed.
I would like to get it when the user moves away with a tab key or by moving the mouse away.
Is this possible?
Thanks and Regards
I really do not want to listen to DocumentListener. It generates too many events
Share
Use FocusListener. focusLost will help you when user moves to some other fields.