-
Button selected, but 'enter' doesn't activate, what's missing?
My logon screen has Logon and Cancel buttons. I can tab to the buttons and
they are clearly selected, but "ENTER" does not activate them.
JOptionPane buttons have this functionality and I would like to incorporate
but don't know how - any suggestions?
Thank you,
George
-
Re: Button selected, but 'enter' doesn't activate, what's missing?
Make sure you add ActionListener to your button.
Good Luck,
Ako
"George" <gkozel@allstate.com> wrote:
>
>My logon screen has Logon and Cancel buttons. I can tab to the buttons
and
>they are clearly selected, but "ENTER" does not activate them.
>JOptionPane buttons have this functionality and I would like to incorporate
>but don't know how - any suggestions?
>
>Thank you,
>
>George
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks