Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Name: dk106046 Date: 07/02/2002 java version "1.4.1-beta" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14) Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode) and java version "1.4.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) Ctrl+BackSpace does not function on TextArea and TextField with IME. The function is to put the committed phrase back to preedit. 1. Compile the following program. ------ AwtTest.java -------- import java.awt.*; public class AwtTest extends Frame { public AwtTest(String msg) { super("TextArea"); add(new TextArea(msg)); setSize(300, 300); show(); } public static void main(String[] args) { if (args.length < 1) { new AwtTest("test message"); } else { new AwtTest(args[0]); } } } -------------------------- 2. Execute above program Then the window including AWT TextArea component will come up. 3. Set focus on the window 4. Activate Japanese IM with Kanji key (ALT+Hankaku/Zenkaku) Then the status area on Microsoft IME change to Japanese A 5. Type any key (e.g. aa) Then preedit string "aa" is input in the window 6. Commit the string with pressing Enter key Then preedit string "aa" is committed in the window 7. Ctrl+BackSpace Then committed string should be put back to preedit string. But it is not. <--- this is problem Note. This test case works fine with 1.3.1 java version "1.3.1_03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03) Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode) ======================================================================
|