JDK-4302270 : Can't distinguish between left & right alt
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1.6,1.2.0,1.3.0
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_95
  • CPU: generic,x86
  • Submitted: 2000-01-03
  • Updated: 2001-04-12
  • Resolved: 2001-04-12
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 :  
Description

Name: mf23781			Date: 01/03/2000


User interfaces on existing platforms can distinguish between right and
left modifier keys. To provide competitive interfaces in Java, access to
this information must be provided. This can be done, while maintaining
compability, by adding modifier constants to InputEvent for:

RIGHT_ALT_MASK
LEFT_ALT_MASK
RIGHT_CTRL_MASK
LEFT_CTRL_MASK
RIGHT_SHIFT_MASK
LEFT_SHIFT_MASK
RIGHT_META_MASK
LEFT_META_MASK

If the right alt key is down, for example, then it sets both the
RIGHT_ALT_MASK and the ALT_MASK. If the left alt key is down, it sets both
the LEFT_ALT_MASK and the ALT_MASK. That maintains backwards compatibility,
but lets developers detect the difference between right and left.
(Review ID: 99523)

======================================================================

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

EVALUATION This sounds like a good strategy. Several developers have requested this functionality. Committing to Tiger. eric.hawkes@eng 2000-02-13 This rfe was implemented with the work done for 4424517. eric.hawkes@eng 2001-04-11
13-02-2000