-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.4.2
-
x86
-
linux
Name: dk106046 Date: 07/13/2004
TAB key operation of Wnn7 (Japanese Input Method) doesn't work on AWT TextField.
On Wnn7, TAB key should work as selecting item from prediction window of Wnn7.
It works well on TextArea and Swing components.
On the other hand, pressing TAB key works for only focus moving on TextField.
It's ok if Wnn7 is deactivated. But, if Wnn7 is activated, TAB key should affect
Wnn7 precedently.
OPERATING SYSTEM(S):
RedHat 7.3 for IA32.
FULL JDK VERSION(S):
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
- steps to reproduce
1. Setup Japanese Linux environment, and install Wnn7.
(Wnn7 is Omronsoftware's product, not free software.
http://www.omronsoft.co.jp/SP/pcunix/wnn7/index.html (in Japanese) )
2. Make sure the prediction function (RAKURAKU-input) is working.
3. Compile and run the sample code.
Two TextField and one TextArea on Frame will be shown.
4. Move focus to the first TextField.
5. Turn on Wnn7 by pressing Ctrl+backslash.
6. Input some Japanese. For example, "hei".
Then, the prediction window is opened.
7. Pressing TAB key.
=> Focus move to another TextField.
But, it should work for Wnn7 without focus change.
On TextArea, it works as our expectation.
---TextFieldTest.java------------------
import java.awt.*;
import java.awt.event.*;
public class TextFieldTest{
public TextFieldTest() {}
public static void main(String[] args) {
Frame frame = new Frame("AWT TextField component");
frame.setLayout(new GridLayout(3,1));
frame.add(new TextField("TextField 1"));
frame.add(new TextField("TextField 2"));
frame.add(new TextArea("TextArea"));
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent event) {
System.exit(0);
}
});
frame.setSize(300, 300);
frame.show();
}
}
----------------------------------
======================================================================
###@###.### 10/24/04 22:36 GMT
TAB key operation of Wnn7 (Japanese Input Method) doesn't work on AWT TextField.
On Wnn7, TAB key should work as selecting item from prediction window of Wnn7.
It works well on TextArea and Swing components.
On the other hand, pressing TAB key works for only focus moving on TextField.
It's ok if Wnn7 is deactivated. But, if Wnn7 is activated, TAB key should affect
Wnn7 precedently.
OPERATING SYSTEM(S):
RedHat 7.3 for IA32.
FULL JDK VERSION(S):
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
- steps to reproduce
1. Setup Japanese Linux environment, and install Wnn7.
(Wnn7 is Omronsoftware's product, not free software.
http://www.omronsoft.co.jp/SP/pcunix/wnn7/index.html (in Japanese) )
2. Make sure the prediction function (RAKURAKU-input) is working.
3. Compile and run the sample code.
Two TextField and one TextArea on Frame will be shown.
4. Move focus to the first TextField.
5. Turn on Wnn7 by pressing Ctrl+backslash.
6. Input some Japanese. For example, "hei".
Then, the prediction window is opened.
7. Pressing TAB key.
=> Focus move to another TextField.
But, it should work for Wnn7 without focus change.
On TextArea, it works as our expectation.
---TextFieldTest.java------------------
import java.awt.*;
import java.awt.event.*;
public class TextFieldTest{
public TextFieldTest() {}
public static void main(String[] args) {
Frame frame = new Frame("AWT TextField component");
frame.setLayout(new GridLayout(3,1));
frame.add(new TextField("TextField 1"));
frame.add(new TextField("TextField 2"));
frame.add(new TextArea("TextArea"));
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent event) {
System.exit(0);
}
});
frame.setSize(300, 300);
frame.show();
}
}
----------------------------------
======================================================================
###@###.### 10/24/04 22:36 GMT