-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b29
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8018878 | 7u45 | Anthony Petrov | P4 | Closed | Fixed | b01 |
JDK-2226810 | 7u40 | Edvard Wendelin | P4 | Closed | Fixed | b01 |
Reported at: http://mail.openjdk.java.net/pipermail/awt-dev/2012-February/002240.html
Given a simple test case below[1], enableInputMethod(false) does not work. We can always invoke input method.
[1]
public class MyAWTTest extends JFrame {
Component c;
public MyAWTTest() {
super("Single Frame --- AWT Frame");
setLayout(new FlowLayout());
c = new TextArea("TextArea component(No IM)");
c.enableInputMethods(false);
c.setPreferredSize(new Dimension(400, 100));
add(c);
c = new TextField("TextField component(No IM)", 52);
c.enableInputMethods(false);
add(c);
setSize(850, 360);
setVisible(true);
setDefaultCloseOperation(EXIT_ON_CLOSE);
}
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new MyAWTTest();
}
});
}
}
Given a simple test case below[1], enableInputMethod(false) does not work. We can always invoke input method.
[1]
public class MyAWTTest extends JFrame {
Component c;
public MyAWTTest() {
super("Single Frame --- AWT Frame");
setLayout(new FlowLayout());
c = new TextArea("TextArea component(No IM)");
c.enableInputMethods(false);
c.setPreferredSize(new Dimension(400, 100));
add(c);
c = new TextField("TextField component(No IM)", 52);
c.enableInputMethods(false);
add(c);
setSize(850, 360);
setVisible(true);
setDefaultCloseOperation(EXIT_ON_CLOSE);
}
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new MyAWTTest();
}
});
}
}
- backported by
-
JDK-2226810 enableInputMethod(false) does not work in the TextArea and TextField on the linux platform
-
- Closed
-
-
JDK-8018878 enableInputMethod(false) does not work in the TextArea and TextField on the linux platform
-
- Closed
-
- relates to
-
JDK-8024122 [TEST] need test to cover JDK-7146572
-
- Resolved
-
-
JDK-8000423 Diacritic is not applyed to a base letter on Linux
-
- Closed
-