JDK-4620715 : No way to see the Context Menu key on the windows keyboards
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.0,1.4.1
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2002-01-08
  • Updated: 2017-05-16
  • Resolved: 2003-05-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 tigerFixed
Related Reports
Duplicate :  
Relates :  
Description

Name: pa48320			Date: 01/08/2002

On Windows keyboards there is a key that requests a context menu. C programs can see this key as a WM_CONTEXT message. This message has no handler other than that found in the Text Area. We need a way to get to the event for all components. This is needed for Section 508 compatibility. 
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b08
2004-06-14

WORK AROUND Name: pa48320 Date: 01/08/2002 There does not appear to be a workaround. The content menu key appears to return an invalid key code: java.awt.event.KeyEvent[KEY_PRESSED,keyCode=0,keyChar='?',keyLocation=KEY_LOCATION_STANDARD] on qMain java.awt.event.KeyEvent[KEY_RELEASED,keyCode=0,keyChar='?',keyLocation=KEY_LOCATION_STANDARD] on qMain ======================================================================
2004-06-11

EVALUATION See 4352104 (4290799). ###@###.### 2002-03-21 The three keys of interest seem to be VK_LWIN (91), VK_RWIN (92), and VK_APPS (93) (from winuser.h). LWIN and RWIN activate the start menu, and APPS activates the context menu. winuser.h #define VK_LWIN 0x5B #define VK_RWIN 0x5C #define VK_APPS 0x5D I tend towards adding Java KeyEvents like VK_WIN and VK_APPS and using KeyEvent.getLocation to distinguish between the left and right windows keys. ###@###.### 2003-04-20
2003-04-20

SUGGESTED FIX Need to add two new constants to KeyEvent.java and update getKeyText. Also need to add the localizable properties to the ten properties files. Need to handle this in awt_Component.cpp. ###@###.### 2003-04-20
2003-04-20