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

[WinXP] Preedit string on TextArea is automatically committed by window resize o

XMLWordPrintable

    • beta
    • x86
    • windows_xp

      Name: dk106046 Date: 04/26/2004

      OPERATING SYSTEM(S):
      Windows XP + SP1

      FULL JDK VERSION(S):
      java version "1.4.2_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
      Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)


      Preedit string on TextArea is automatically committed by window resize
      operation. This situation is not good for users.

      Test program is as follows:
      ============================================================
      import java.awt.*;
      import java.awt.event.*;

      class TextAreaTest extends Frame {
          TextAreaTest() {
              setTitle("TextAreaTest");
              setLayout(new GridLayout(0,1));
      add(new TextArea(5, 20));
              addWindowListener(new WindowAdapter() {
                      public void windowClosing(WindowEvent event) { System.exit(0); }
              });
      pack();
      show();
          }
          public static void main(String[] args) {
              TextAreaTest f = new TextAreaTest();
          }
      }
      ============================================================

      Test instruction is as follows:
      1. Run TextAreaTest on Windows XP for Japanese.
      2. Activate IME on TextAreaTest window, then type Japanese text, like "kanji".
      3. Resize window, preedit string is automatically committed. <== PROBLEM

      [This bug is being submitted as a courtesy, in order to maintain uniformity between Sun & IBM JDKs. It has been fixed in IBM JDKs.
      Please contact ###@###.### if you have questions.]
      ======================================================================
      ###@###.### 10/24/04 22:40 GMT

            xlu Xiaobin Lu (Inactive)
            dkorbel David Korbel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: