<AWT Dev> [13] JDK-8218917: KeyEvent.getModifiers() returns inconsistent values for ALT keys

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Mar 12 00:04:45 UTC 2019

Hi, Phil.
On 11/03/2019 07:43, Philip Race wrote:
> The reasoning that AltGraph might be useful to someone is a bit weak
> and I don't think I'd want to support it via system property or build options.
> If its not a platform keyboard key, why do we need it ?

The "AltGraph" key is also commonly referred to as "Right Alt", and
it has been implemented on all platforms as a "Right Alt", it is convenient to
distinguish the left/right alts.

Best regards, Sergey.

More information about the awt-dev mailing list