-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
x86
-
windows_nt
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b60)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b60, mixed mode)
Bug Description:
Can't open Windows with a German locale installed.
Instantiating a JWindow throws an exception.
File sun/awt/resources/awt_de.properties in rt.jar contains the following
two lines:
AWT.backwardDefaultFocusTraversalKey=Umsch Tab,Strg Umsch Tab
AWT.forwardDefaultFocusTraversalKey=Tab,Strg Tab
java.awt.KeyboardFocusManager.loadFocusTraversalKeys(String, String, Set)
uses these list values to request java.awt.AWTKeyStroke instances
for each token, using java.awt.AWTKeyStroke.getAWTKeyStroke(String).
"Umsch Tab", "Strg Umsch Tab", etc. do not comply with the syntax required
in #getAWTKeyStroke(String). The method expects modifies like
shift | control | ctrl | meta | alt | button1 | button2 | button3
Removing the two lines in the awt_de.properties works around the problem.
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b60)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b60, mixed mode)
Bug Description:
Can't open Windows with a German locale installed.
Instantiating a JWindow throws an exception.
File sun/awt/resources/awt_de.properties in rt.jar contains the following
two lines:
AWT.backwardDefaultFocusTraversalKey=Umsch Tab,Strg Umsch Tab
AWT.forwardDefaultFocusTraversalKey=Tab,Strg Tab
java.awt.KeyboardFocusManager.loadFocusTraversalKeys(String, String, Set)
uses these list values to request java.awt.AWTKeyStroke instances
for each token, using java.awt.AWTKeyStroke.getAWTKeyStroke(String).
"Umsch Tab", "Strg Umsch Tab", etc. do not comply with the syntax required
in #getAWTKeyStroke(String). The method expects modifies like
shift | control | ctrl | meta | alt | button1 | button2 | button3
Removing the two lines in the awt_de.properties works around the problem.
- duplicates
-
JDK-4447941 Java GUI applications broken in all German locales
- Resolved