Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4052171

First letter will not be sent to IME.

XMLWordPrintable

    • generic
    • solaris_9

      [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));
                      }
              }
      }

            ssenthilsunw Shanmugam Senthil (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: