This week's book giveaway is in the Cloud/Virtualization forum. We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line! See this thread for details.
I've a JFrame that has a JTextField and a JButton object. After typing something in the Textfield I want the JButton to be clicked when I hit Enter. How can I do it? Does it have something to do with Actions?
This is one of several ways. You could also create an Action and give both components and instance of said Action. Most of the code would look the same though.