FocusEvent of a JTextField object
Hi,
I'm new to event handling in Java GUI development, and I'm just wondering how I can achieve the following effect in my GUI:
Say I have a text field, and and I input some value (e.g. 3), and when I move the cursor away from this field, how can I retrieve this value 3 from it?
I understand you could use ActionEvent to obtain the text inside the field when you press 'Enter', but this is not what I intend to do.
Many thanks.

