Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4069679
Votes 0
Synopsis Key mapping for some keys is inconsistent.
Category java:classes_awt
Reported Against 1.1.1 , 1.1.4 , 1.1.6 , 1.2alpha , 1.2beta2 , 1.2beta3
Release Fixed 1.4(merlin-beta)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs 4072265 , 4106318 , 4114623 , 4424517
Submit Date 05-AUG-1997
Description




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  customer  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.
  xxxxx@xxxxx   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


  xxxxx@xxxxx   1998-01-23
Work Around




None
======================================================================
Evaluation
See also 4072265, 4106941.  
  xxxxx@xxxxx   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.  
  xxxxx@xxxxx   2001-04-13
Comments
  
  Include a link with my name & email   

Submitted On 30-MAR-1998
markb
Did you know that the Java keyboard is going to 
make the usability of the terminal emulators 
be second rate in comparison to their platform
specific counterparts???  This is a serious issue.
The biggest problem is not differentiating right
and left modifier keys.  All of the major platform
keybords do this.  And the ones that don't could
return either right or left version of the
ctrl, shift, alt etc.



PLEASE NOTE: JDK6 is formerly known as Project Mustang