United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6839645 Swing application prints message in Control Panel if language is changed
JDK-6839645 : Swing application prints message in Control Panel if language is changed

Details
Type:
Bug
Submit Date:
2009-05-11
Status:
Resolved
Updated Date:
2011-09-02
Project Name:
JDK
Resolved Date:
2009-08-18
Component:
client-libs
OS:
windows_xp
Sub-Component:
java.awt
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u13
Fixed Versions:
6u18 (b01)

Related Reports
Backport:

Sub Tasks

Description
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)"

                                    

Comments
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.
                                     
2009-05-12
EVALUATION

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

-
                                     
2011-09-02



Hardware and Software, Engineered to Work Together