-
Bug
-
Resolution: Fixed
-
P3
-
1.4.1
-
mantis
-
x86
-
windows_xp
Name: rmT116609 Date: 10/22/2002
FULL PRODUCT VERSION :
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows XP [Version 5.1.2600]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Japanese JIS keyboard with Japanese operating system.
DESCRIPTION OF THE PROBLEM :
When the character '_' is typed in on java.awt.TextArea, the character '|' is typed in, instead.
The problem occurs only on java.awt.TextArea and java.awt.TextField with Japanese keyboard.
It does not occur on any version of J2SDK1.3.x.
It occurs only on Microsoft Windows.
It does not occur on javax.swing.* components.
REGRESSION. Last worked in version 1.3.1
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.Boot any java program that uses AWT Text Components.
2.Type '_' on the Text component.
3.That's all.
EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected:
The character '_' is typed in.
Actual Result:
The character '|' is typed in, instead.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
There are no error messages.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.awt.*;
public class SimpleAWTTextFrame extends java.awt.Frame {
public static void main(String args[]) {
SimpleAWTTextFrame f = new SimpleAWTTextFrame();
f.setSize(100,100);
f.setVisible(true);
}
TextField textfield;
public SimpleAWTTextFrame() {
textfield = new TextField();
add(textfield);
}
}
---------- END SOURCE ----------
CUSTOMER WORKAROUND :
Cut and Paste, use US Keyboard, or use javax.swing.* instead.
(Review ID: 165943)
======================================================================
- relates to
-
JDK-4474756 Underscore input impossible with Robot Class (for Japanese Keyboards)
-
- Open
-