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

Cursor on wrong side of text in JTextField in Korean Locale

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.2.2
    • client-libs



      Name: yyT116575 Date: 03/21/2001


      java version "1.2.2"
      Classic VM (build JDK-1.2.2-004, native threads, symcjit)

      import javax.swing.*;
      import java.awt.*;

      public class Test extends JFrame {
        public Test() {
          JLabel aLabel = new JLabel("Type Here");
          JTextField aField = new JTextField(20);
          this.getContentPane().setLayout(new FlowLayout());
          this.getContentPane().add(aLabel);
          this.getContentPane().add(aField);
          pack();
        }

        public static void main(String args[]) {
          Test t = new Test();
          t.setVisible(true);
        }
      }

      Run the above testcase in a Korean WinNT.
      In Korean windows NT/2000, typing text in JTextField "XXXX" <== 'X' indicates
      Korean character.The cursor will appears preceeding the last character like the
      following "XXX|X" <== '|' indicates the cursor.
      (Review ID: 119206)
      ======================================================================

            shickeysunw Shannon Hickey (Inactive)
            yyoungsunw Yung-ching Young (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: