JDK-4069679 : Key mapping for some keys is inconsistent.
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1.1,1.1.4,1.1.6,1.2.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris_2.5.1,windows_nt
  • CPU: generic,x86,sparc
  • Submitted: 1997-08-05
  • Updated: 2001-04-14
  • Resolved: 2001-04-14
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
1.4.0 betaFixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description

Name: pk39325			Date: 08/05/97


The key mapping from some keys is inconsistent.
  e.g. The Del/. key on a PC keypad reports different key
    pressed events depending on whether NumLock is on or off
This makes it impossible to do any consistent function key
mapping.
The application we work with is actually a terminal emulator
so we want to re-map the keyboard to be similar to a terminal keyboard.
======================================================================
No KeyEvent seems to be sent att all to keyPressed when I press
the ","/"Del" key on my (Swedish) keyboard and NumLock is selected.

Something like  KeyEvent.VK_SEPARATER, KeyEvent.VK_COMMA, or 
KeyEvent.VK_PERIOD was expected. Every thing else seems to come through.

Using jdk 1.1.3 this key sends del (keycode 127).
(the minus key, however, sends "=" (keycode 61); whre
jdk 1.2 beta 2 sends the correct "-" (keycode 109))

My code is available upon request.
ronan.mandel@Eng 1998-01-21


----------------------------------------

The second part of this bug involving Swedish keyboards
(submitted by ronan.mandel)
has been made into a new separate bug - BugId 4106318


linda.mccolm@Eng 1998-01-23

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

WORK AROUND Name: pk39325 Date: 08/05/97 None ======================================================================
11-06-2004

EVALUATION See also 4072265, 4106941. eric.hawkes@eng 1998-02-05 The work done for 4424517 allows discriminating between the numapd DEL key and the distinct DEL key. This should make it possible to implement the functionality the submitter wanted. eric.hawkes@eng 2001-04-13
13-04-2001