M
Mark_Galeck
Hello, typically with other GUIs (for example MS Windows), if you
edit a text field, you don't have to press Enter for the system to
notice - for example, you can click your mouse on another field, and
the system notices the change.
It appears this is not so with Java Swing - I edit the text value in
JTextField, and I have to press Enter for ActionEvent to show up, if I
click on another field, the changed value stays in the text field, but
no ActionEvent is fired. This makes no sense to me !?
How to make ActionEvent fire if I start editing something else??
Thank you for your insight,
Mark
edit a text field, you don't have to press Enter for the system to
notice - for example, you can click your mouse on another field, and
the system notices the change.
It appears this is not so with Java Swing - I edit the text value in
JTextField, and I have to press Enter for ActionEvent to show up, if I
click on another field, the changed value stays in the text field, but
no ActionEvent is fired. This makes no sense to me !?
How to make ActionEvent fire if I start editing something else??
Thank you for your insight,
Mark