Name: pa48320 Date: 08/12/2002
I can't activate Japanese input mode in the LWTextField that is initially
focused on the Applet. LWTextField is a component of our AWT-based UI framework
called EWT, it looks like a java.awt.TextField,
and it is implemented on java.awt.Component.
When I run an Applet with the LWTextField and set the initial
focus to it by calling requestFocus() method,
the cursor is set to it and I can input English letters.
But if I try to toggle the Japanese input mode by typing (ALT)+(`) key,
that is the typical way to toggle the Japanese IME in Windows system,
nothing happens and the input mode is still in English mode.
If I move a focus to another component by hitting tab key then get back
to it, or click the LWTextField, it turns to be IME enabled.
This problem doesn't occur when I use the appletviewer instead of
This problem doesn't happen when I use java.awt.TextField instead of
Why we decided to file a bug to ask your help is because
EWT doesn't have any code that deals with IMEs.
EWT just relies on what Sun provides.
We continue to work on this problem and we will
let you know when we find anything new as soon as possible.
[Environments on which the bug occurs]
java version "1.3.1_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02)
Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)
Windows 2000 Japanese version
Microsoft Windows 2000 [Version 5.00.2195]
Build 2195: Service Pack 2
Netscape 6.2.3 (Japanese version)
Mozilla/5.0 (Windows; U; Windows NT 5.0; ja-JP; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
IE 5.5 (Japanese version)
Update versions: SP2; Q321232;
1. Compile the testcase java source with EWT library
2. Setup Java plug-in
3. Access the testcase html file from browser
4. Type (ALT) + (`) to toggle Japanese input mode
To compile and run the testcase, you need EWT library.
Would you please contact me? then I can send it to you.
[Expected and Actual Results]
If you access the html file from your browser,
you will see the 2 text field on the browser, and
the focus is on the left text field.
The expected result is that you can toggle the Japanese input mode.
But the actual result is that you can't toggle
the Japanese input mode even if you type (ALT) + (`) key.
[Source Code : FocusApp2.java]
public class FocusApp2
public void start()
mText1 = new LWTextField("LWTextField1");
mText2 = new LWTextField("LWTextField2");
[Source Code : test.html]
width="1024" height="768" align="baseline"
<PARAM NAME="code" VALUE="FocusApp2">
<PARAM NAME="archive" VALUE="share-dbg.jar,ewt3-dbg.jar">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
<EMBED type="application/x-java-applet;version=1.3" width="1024"
height="768" align="baseline" code="FocusApp2" archive="share-dbg.jar,ewt3-dbg.jar"
No Java 2 SDK, Standard Edition v 1.3 support for APPLET!!
(Review ID: 160161)