aspose file tools*
The moose likes Applets and the fly likes About Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "About "Press Spacebar or Enter to activate this control" message.." Watch "About "Press Spacebar or Enter to activate this control" message.." New topic
Author

About "Press Spacebar or Enter to activate this control" message..

Sang-Wook Kim
Ranch Hand

Joined: Jan 07, 2004
Posts: 36
Hi,

"Press Spacebar or Enter to activate this control"

Many of you have might have seen this message when running applets

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 applet.

Well, somehow I can activate the control but this message is lying in

my case.

I Suddenly got curious... Anybody have an idea?

Thanks in advance.

Hyung
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
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 - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About "Press Spacebar or Enter to activate this control" message..
 
Similar Threads
handleEvent(Event event)
Automatic Keystrokes
put an applet into a web page
setFocus in JButton is there any?
Pressing ENTER when Button is selected doesnt fire buttonActionPerformed...