This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes when press key enter then an action is performed .. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "when press key enter then an action is performed .." Watch "when press key enter then an action is performed .." New topic
Author

when press key enter then an action is performed ..

arun singhal
Ranch Hand

Joined: Oct 25, 2009
Posts: 41
How can it possible that when I press enter key then action will performed .........
As an example I have made login page then I enter username and password in textfield..
So i want that I only on press "enter" button for login...
I have submit button..
Rok Štelcer
Ranch Hand

Joined: Nov 03, 2009
Posts: 101
Hi,

Click here fo the solution.


Regards,
Rok


SCJP, SCWCD
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: when press key enter then an action is performed ..