<Swing Dev> right ALT key generates wrong modifiers
Peter Quiring
pquiring at gmail.com
Fri Mar 9 03:58:15 UTC 2018
A new check for VK_RMENU is generating new modifier bits for the right
ALT key causing shortcuts to fail.
http://hg.openjdk.java.net/jdk/jdk/file/ba545e52b932/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp#l2718
See bug # 8194873
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8194873
For example:
JOptionPane.showConfirmDialog(this, "Do you wish to save file?",
"Confirm", JOptionPane.YES_NO_CANCEL_OPTION)
When you type left ALT+Y it works, but right ALT+Y does NOT work.
This is a regression added in Java9.
Please fix asap, thanks.
--
Peter Quiring
More information about the swing-dev
mailing list