JDK-6839645 : Swing application prints message in Control Panel if language is changed
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6u13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2009-05-11
  • Updated: 2011-09-02
  • Resolved: 2009-08-18
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.
6u18 b01Fixed 7Fixed
A Swing application is started as a standalone process.
Arabic is added as a Regional and Language option. 
If the language is changed from English to Arabic, an unusual message prints in the Control Panel window.
"++++Whats that? wkey 0x42 (66)"


EVALUATION See evaluation and comments for jdk7. Fix is, move the annoying printout under #ifdef DEBUG.

EVALUATION AWT builds a keymap table for converting Windows VKey to Java KeyEvent, which assumes 1 to 1 matching. However, the keytop for VK_B in Arabic keyboard layout actually produces two WM_CHARs (Lam and Alef), thus the debug message is displayed. Transferring this to the AWT for further implementation discussion.