JDK-4052171 : First letter will not be sent to IME.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: solaris_2.6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_9
  • CPU: generic
  • Submitted: 1997-05-15
  • Updated: 1997-10-23
  • Resolved: 1997-10-23
Related Reports
Duplicate :  
Description
[gshibaya@japan 5/15/97]

When users fill in multiple textfields in Japanese, they usually keep IME ON and
move forward textfields by pressing tab key. But sometimes the first letter will
not be sent to IME. For example, "k" "a" result in "kA", where A is hiragana, 
instead of KA which is one letter of hiragana.

To reproduce this bug,
	1) Start E-Reg
	2) Fill in the last name field in Japanese
	3) Press tab key to move to the first name field
	4) Try to input Japanese, such as KA

This bug occurs not only on HBJ, but also on appletviewer with the following code.

import java.applet.Applet;
import java.awt.*;
import java.util.StringTokenizer;

public class TextFieldApplet extends Applet {
        public void init(){
                String param = getParameter("labels");
                StringTokenizer st = new StringTokenizer(param, "|");
                while(st.hasMoreTokens()){
                        String p=(String)st.nextToken();
                        add(new TextField(20));
                }
        }
}