File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
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 app for network diagnostics
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: About "Press Spacebar or Enter to activate this control" message..
setFocus in JButton is there any?
put an applet into a web page
Pressing ENTER when Button is selected doesnt fire buttonActionPerformed...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014