-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
5.0u3
-
other
-
windows_xp
OPERATING SYSTEM(S)
Windows XP (Japanese)
FULL JDK VERSION(S):
>> java -version
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode)
DESCRIPTION:
On Japanese Windows XP, Japanese preedit text and candidate window remain on the screen.
Test instruction is as follows:
1. Compile and run test program (AwtTextTest.java) on Japanese Windows XP
2. Press "Show TextField" button
3. TextField window is displayed, turn on Japanese IME
4. Type "a" and press Space key twice to convert to Japanese characters
5. At this moment, candidate window is displayed, then "Close" button on window frame
6. Window is closed but preedit text and candidate window are remained on screen
==============================================================================
import java.awt.*;
import java.awt.event.*;
class AwtTextTest extends Frame implements ActionListener {
Dialog d;
AwtTextTest() {
Button btn = new Button("Show TextField");
add(btn);
btn.addActionListener(this);
}
public void actionPerformed(ActionEvent e) {
d = new Dialog(this, true);
d.add(new TextField(20));
d.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
d.dispose();
}
});
d.pack();
d.show();
}
public static void main(String[] args) {
AwtTextTest f = new AwtTextTest();
f.pack();
f.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
});
f.show();
}
}
==============================================================================
###@###.### 2005-05-13 15:23:46 GMT
Windows XP (Japanese)
FULL JDK VERSION(S):
>> java -version
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode)
DESCRIPTION:
On Japanese Windows XP, Japanese preedit text and candidate window remain on the screen.
Test instruction is as follows:
1. Compile and run test program (AwtTextTest.java) on Japanese Windows XP
2. Press "Show TextField" button
3. TextField window is displayed, turn on Japanese IME
4. Type "a" and press Space key twice to convert to Japanese characters
5. At this moment, candidate window is displayed, then "Close" button on window frame
6. Window is closed but preedit text and candidate window are remained on screen
==============================================================================
import java.awt.*;
import java.awt.event.*;
class AwtTextTest extends Frame implements ActionListener {
Dialog d;
AwtTextTest() {
Button btn = new Button("Show TextField");
add(btn);
btn.addActionListener(this);
}
public void actionPerformed(ActionEvent e) {
d = new Dialog(this, true);
d.add(new TextField(20));
d.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
d.dispose();
}
});
d.pack();
d.show();
}
public static void main(String[] args) {
AwtTextTest f = new AwtTextTest();
f.pack();
f.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
});
f.show();
}
}
==============================================================================
###@###.### 2005-05-13 15:23:46 GMT