-
Bug
-
Resolution: Fixed
-
P3
-
7u6, 8, 9, 10
-
Windows 7 64bit Japanese
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
-
b02
When I input Japanse (IME on) to the TextFIeld, which is on JFXPanel,
small window for inputting appears on top-left side of screen, and I cannot input directly..
see attachment image file.
it works, but looks crap.
thanks.
1. start the program below
2. IME on
3. input to the TextField
4. result [image|http://pc.gban.jp/?p=45667.png]
package sample;
import javafx.application.Platform;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Scene;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane;
import javax.swing.JFrame;
import javax.swing.WindowConstants;
public class Test {
public static void main(String[] args) {
final JFXPanel panel = new JFXPanel();
JFrame frame = new JFrame();
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.setContentPane(panel);
frame.setSize(100, 100);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
Platform.runLater(new Runnable() {
@Override
public void run() {
GridPane root = new GridPane();
root.addRow(0, new TextField());
Scene scene = new Scene(root);
panel.setScene(scene);
}
});
}
}
small window for inputting appears on top-left side of screen, and I cannot input directly..
see attachment image file.
it works, but looks crap.
thanks.
1. start the program below
2. IME on
3. input to the TextField
4. result [image|http://pc.gban.jp/?p=45667.png]
package sample;
import javafx.application.Platform;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Scene;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane;
import javax.swing.JFrame;
import javax.swing.WindowConstants;
public class Test {
public static void main(String[] args) {
final JFXPanel panel = new JFXPanel();
JFrame frame = new JFrame();
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.setContentPane(panel);
frame.setSize(100, 100);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
Platform.runLater(new Runnable() {
@Override
public void run() {
GridPane root = new GridPane();
root.addRow(0, new TextField());
Scene scene = new Scene(root);
panel.setScene(scene);
}
});
}
}
- is blocked by
-
JDK-8322784 JFXPanel calls InputMethodRequests on wrong thread
- Resolved
- relates to
-
JDK-8183204 On using JTextArea with SwingNode, IME's on-the-spot does not work fine
- Open
-
JDK-8301893 IME window position is off on secondary screen
- Resolved
- links to
-
Commit openjdk/jfx/11706581
-
Review openjdk/jfx/1169
-
Review(master) openjdk/jfx/1337
(1 links to)