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

TextComponent does not allow InputMethods by default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • client-libs
    • None
    • b26
    • generic
    • generic
    • Verified

      Example in attachment illustrates that InputMethods are not enabled by default by TextComponent. This example works on Windows XP but not on Solaris/Linux (tested with Suse 9.1). Note that adding of explicit statement 'enableInputMethods(true)' makes this example work OK on all platforms. Below are outputs of the example on different platforms:
      --------------- WinXP ---------------------
      java Test002
      component.requestFocusInWindow() true
      OKAY
      --------------- Solaris/Windows -----------------------
      java Test002
      component.requestFocusInWindow() true
      Error: No events dispatched!
      ###@###.### 2005-1-28 16:20:20 GMT

            xlu Xiaobin Lu (Inactive)
            mchernyssunw Michael Chernyshov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: