I found a bug in swing that was introduced in Java9. See bug # 8194873
The problem is the addition of checking for VM_RMENU http://hg.openjdk.java.net/jdk/jdk/file/ba545e52b932/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp#l2718 Please remove this check or find another way to check for it. This new bit causes the right ALT shortcut keys to fail in Swing components. I believe the left ALT generates VK_MENU and the right alt generates VM_MENU and VK_RMENU in Windows so the check is redudant. Thanks. -- Peter Quiring