PRB: Event for the F10 key not fired in a Java AppletLast reviewed: January 29, 1998Article ID: Q177158 |
The information in this article applies to:
SYMPTOMSIf 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.
RESOLUTIONThis problem does not occur under the Microsoft Virtual Machine for Java provided in the SDK 2.0 for Java and Internet Explorer 4.0.
STATUSThis is by design.
MORE INFORMATION
Steps to Reproduce BehaviorUse the following code snippet in a Java applet to reproduce the behavior:
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; } REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |