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

Cannot switch input method from IM Selection menu

XMLWordPrintable

    • b34
    • x86
    • windows_xp

      Name: dk106046 Date: 07/13/2004

      OPERATING SYSTEM(S):
      Windows XP (Japanese) with SP1

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


      Test instruction is as follows:

       1. Put put following Java IM into JAVA_HOME\jre\lib\ext\ directory
          http://java.sun.com/j2se/1.4.2/docs/guide/imf/spi-sample/CityIM.jar
       2. Change directory to JAVA_HOME\demo\jfc\SwingSet2
       3. Run appletviewer
          > appletviewer SwingSet2.html
       4. Select JColorChooser demo, select "Background" button, select HSB tab
       5. Click JSpinner component (these are in right side of "Choose a Color" dialog)
          Caret is blinking at this action
       6. Click Java icon to bring up window menu
       7. Select "Select Input Method", IM Selection menu will be displayed
       8. Select "City Input Method -> English" by using mouse
          "City Input Method" window should be displayed but nothing happen <== PROBLEM
       9. Select "Select Input Method", IM Selection menu will be displayed
      10. Select "City Input Method", you can see "English" is already selected
      (If CityIM window is displayed, please restart appletviewer, then follow this instruction)

      I checked City Input Method code(CityInputMethod.java)
        http://java.sun.com/j2se/1.4.2/docs/guide/imf/spi-tutorial.html#Sample%20Code
      loadProperties() on initializeTables() throws NullPointerException.
      (This situation does not happen on native SwingSet2.)

      ======================================================================
      ###@###.### 10/24/04 22:36 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: