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

IME candidate window showed right bottom, separated from input field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 7u11
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:

      Description

      FULL PRODUCT VERSION :
      java version "1.7.0_25"
      Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
      Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Microsoft IME


      A DESCRIPTION OF THE PROBLEM :
      Use Japanese IME on Java Swing applet, IME candidate window showed right bottom, separated from input field.


      REGRESSION. Last worked in version 7u10

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Open Java Swing applet with input field.
      2. Set Japanese IME enabled.
      3. Input Test and type space key 2 times, and then IME candidate window showed.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      IME candidate window showed near input field.
      ACTUAL -
      IME candidate window showed right bottom, separated from input field.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Sample Applet
      ----
      package sample;

      import java.awt.BorderLayout;
      import java.awt.Dimension;
      import java.awt.FlowLayout;

      import javax.swing.JApplet;
      import javax.swing.JPanel;
      import javax.swing.JTextField;

      public class SwingAppletTest extends JApplet {

          public void init() {
              super.init();
              JPanel panel = new JPanel();
              FlowLayout layout = new FlowLayout();
              layout.setAlignment(FlowLayout.LEFT);
              panel.setLayout(layout);
              JTextField textField = new JTextField();
              textField.setSize(new Dimension(200, 25));
              textField.setPreferredSize(new Dimension(200, 25));
              add(panel, BorderLayout.CENTER);
              panel.add(textField);
          }
      }

      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Use Java 1.7.0_05 or below.

      SUPPORT :
      YES

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peytoia Yuka Kamiya (Inactive)
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: