BUG: KEY_PRESSED Event Not Generated for Some Controls (188808)
The information in this article applies to:
- Microsoft virtual machine
- Microsoft SDK for Java 2.0
- Microsoft SDK for Java 2.01
- Microsoft SDK for Java 2.02
- Microsoft SDK for Java 3.0
- Microsoft SDK for Java 3.1
- Microsoft SDK for Java 3.2
- Microsoft Visual J++ 1.0
- Microsoft Visual J++ 1.1
This article was previously published under Q188808 SYMPTOMS
Programs that try to respond to KEY_PRESSED events miss those events for
certain keys and certain controls that use the 1.1 or 1.02 eventing model
of the Java Development Kit (JDK) from Sun Microsystems Inc. For example,
this problem occurs when trying to intercept a TAB inside a TextArea.
CAUSE
Certain controls do not generate KEY_PRESSED or ACTION_PRESSED events, or
call the keyPressed method of a KeyListener, for certain keys.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbbug kbpending KB188808 |
---|
|