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

Linux: Passive Client:focus problem in Japanese Character

XMLWordPrintable

      Redhat Linux 6.1J, build 1.2.2-RC2-K

      In inputting Japanese characters a focus problem occurs between passive client
      window and root-window(Kana-kanji Conversion).


      Inputting Japanese chararters, root-window for Kana-kanji Conversion window
      appears and now focus is in this root-window.
      Characters are displayed as inputted and comitting by hitting return key
      can not reflect the input to Passive Client Window (Cricket for solaris can).
      Setting the focus to Passive Client Window, the inputted characters are
      displayed on Passive Client Window for the first time.

      Some words inputted which are committed per a word in root-window
      as focus is still in it, and set the focurs to Passive Client windows
      the words are displayed in reverse order of input.
      A latest commit word is displayd first.

      To reproduce,

      1. Compile and run the attached program, InputMthodTest1.
      2. Hit Shit + space key to enable to input Japanese characters.
        ----root-window appears for Kana-Kanji Conversion.
      Case 1
      1) Input some Japanese chararters and commit----no reflection to the Pasive Client.
      2) Set the focus to Passive Client.-----Inputted characters are displayed.

      Case2
      1)Input some Japanese characters and commit , as focus in root-window.
      2)Repeat 1) some times.
      3)Set the focus to Passive Client.
        ----Inputted characters are displayed in reverse order.

      ------------------
      During running the InputMethodTest1 on kestrel-linux rc1 b10, an exception was thrown:
      Exception in thread "main" java.lang.NoClassDefFoundError:Input



      java.awt.AWTException: cannot open XIT

      at sun.awt.motif.X11InputMethod.<init> (X11 InputMethod. java: 148)
      at sun.awt.motif.X11InputMethodDescriptor.createInputMethod(X11 InputMethodDescriptor. java: 78)
      at sun.awt.im.InputContext.getInputMethodInstance(InputContext. java:686)
      at sun.awt.im.InputContext.getInputMethod(InputContext. java:636)
      at sun.awt.im.InputContext.dispatchEvent(InputContext. java:188)
      at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext. java:177)
      at sun.awt.Component.dispatchEventImpl(Component. java:2529)
      at sun.awt.Component.dispatchEvent(Component. java:2499)
      at sun.awt.EventQueue.dispatchEvent(EventQueue. java:319)
      at sun.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread. java:103)
      at sun.awt.EventDispatchThread.pumpEvents(EventDispatchThread. java:93)
      at sun.awt.EventDispatchThread.run(EventDispatchThread. java:84)




      keiko.nakayama@Eng 2000-07-18

            sherman Xueming Shen
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: