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'm stumped. I have a nice button action event to run a login process for my app. My GUI has 2 fields (user id and password) and two buttons (Login and Cancel)
My login button (bnLogin) has an actionhandler assigend to it to process its events. I want to add a keylistener to my password textfield so when the enter key is pressed it will accept the text and call the bnLogin action.
Here is a section of my code.
My searches on this has turned up nothing.
Can I do what I'm wanting to do here or should I rethink the way I run the login process?
Thanks for any help!
Steve<br /> <br />No matter where you go, there you are.<br /> <br />"My evil self is at the door, and I have no power to stop it."