This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am working on a simple GUI application. I want the tab key to generate an actionPerformed() event for my ActionListener. Also, I want the Enter key to perform the same action as the Tab key; that is, move focus to the next field. In other words, I want these two keys to be synonymous is their behaviour. Can you point me to a good example of how to do that?