<p dir="ltr">Hi:</p>
<p dir="ltr">This[1] defect is only partially fixed on Mac OS X.</p>
<p dir="ltr">The problems with the proposed solution were brought up<br>
in another ticket[2].</p>
<p dir="ltr">Victor Dyakov asked if the problem was reproducible on<br>
versions 8 and 9. I can confirm. I installed both<br>
jdk1.7.0_80-ea, jdk1.8.0_60-ea, and jdk1.9.0_ea and ran<br>
the code attached to [1].</p>
<p dir="ltr">When running the Frame1 code from [1], the alphabetic keys<br>
in Dvorak (home row, for example) are unambiguously<br>
registered as such. However, Dvorak's symbol keys, like '<br>
(QWERTY Q), / (QWERTY [), or ; (QWERTY Z), are still<br>
partially registering as QWERTY keys.</p>
<p dir="ltr">It seems that<br>
keyEvent.getKeyChar() is correct<br>
String.valueOf((char)keyEvent.getKeyCode()) is NOT correct<br>
KeyEvent.getKeyText(keyEvent.getKeyCode()) is NOT correct<br>
for Dvorak symbols.</p>
<p dir="ltr">If you happen to have IntelliJ IDEA 14 installed (other<br>
versions may work), you can see the problem by opening<br>
the Preferences->Keymap window and clicking the "Find<br>
Actions by Shortcut" button. With Dvorak enabled, searching<br>
for a Shortcut like ^/ is impossible since the registered<br>
shortcut will be ^[, the analogous QWERTY shortcut.</p>
<p dir="ltr">[1] <a href="https://bugs.openjdk.java.net/browse/JDK-8028617">https://bugs.openjdk.java.net/browse/JDK-8028617</a><br>
[2] <a href="https://bugs.openjdk.java.net/browse/JDK-8066068">https://bugs.openjdk.java.net/browse/JDK-8066068</a><br>
</p>