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

Unwanted below-the-spot behavior on some windows platform

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      02
    • CPU:
      x86
    • OS:
      windows_98

      Backports

        Description

        JDK: 1.4.1-rc
        OS: Windows 98

        The following code should let native IME to process all the input method events. But on some Chinese Windows98 environment, the Java's input window(for Chinese input) will still show up.

        -------- Start -----------
        import java.awt.*;
        import java.awt.im.*;
        import javax.swing.*;

        class PassiveSwing extends JFrame {
             public static void main(String[] s) {
                 new PassiveSwing();
             }

             PassiveSwing() {
                 Container c = getContentPane();
                 c.setLayout(new BorderLayout());
                 c.add(new JTextPane() {
                     public InputMethodRequests getInputMethodRequests() {
                         return null;
                     }
                 });

                 setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                 setSize(200, 100);
                 setVisible(true);
             }
        }
        -------- End -----------

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                naoto Naoto Sato
                Reporter:
                jieshe Jie Shen (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: