This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I built a small windows program. I have an text field and a couple labels, a checkbox group and button, I instantiated the button in the middle of a flow layout. Now, i need to set the requestFocus(); to the button, which is name calculate. Now what do i do to set that, so when i turn my program on, i just type my numbers in and hit enter. I need to have it set to either press enter or click the calculate button, and I can not get the request focus to work correctly.