I have two forms in my frame, each with their own submit button. When a user presses the return key on their keyboard, I would like to doCick() on the button which the user last made changes to the form fields for that respective button. Any ideas?
I think I need to do something like this but I'm not sure how: if a text field is modified, that form's button comes to focus. Then, when enter is pressed, the button which is in focus is clicked.