A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
About "Press Spacebar or Enter to activate this control" message..
Joined: Jan 07, 2004
Apr 28, 2007 03:24:00
"Press Spacebar or Enter to activate this control"
Many of you have might have seen this message when running
on Windows. One thing I don't understand is even if I press Spacebar
or Enter, nothing happens. The only way to activate the control is to
click inside the border of the
Well, somehow I can activate the control but this message is lying in
I Suddenly got curious... Anybody have an idea?
Thanks in advance.
Joined: Mar 22, 2005
Apr 29, 2007 00:11:00
I think that's a question of where the focus is. Generally, the focus will not be on the applet when the page is loaded, so for the applet to see any keystrokes, it needs to get the focus first (which is done by clicking on it).
Ping & DNS
- my free Android networking tools app
Don't get me started about those stupid
subject: About "Press Spacebar or Enter to activate this control" message..
setFocus in JButton is there any?
Pressing ENTER when Button is selected doesnt fire buttonActionPerformed...
put an applet into a web page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014