Thank you very much for your reply.
I'm going to try the second solution.
Forum
Question Authors' Forum
How to manage ENTER key in JAVA
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 5 posting(s) in 1 day