PRB: Event for the F10 Key Not Fired in a Java AppletID: Q177158
|
If you use the F10 key in an applet, the event does not get fired for the Java applet, instead the File menu in Internet Explorer 3.x gets the focus.
This problem does not occur under the Microsoft virtual machine provided in the SDK for Java 2.0x or later and Internet Explorer 4.0x.
This is by design.
public boolean keyDown(Event evt, int key)
{
if (key == Event.F2)
showStatus("F2 Key pressed");
else if (key == Event.F10) //Will switch to the IE3.x File
//menu
showStatus("F10 Key pressed");
else return false;
return true;
}
For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following pages on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/
http://support.microsoft.com/support/java/
Additional query words: F10 key event fire
Keywords : JVM
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: July 27, 1999