-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
6u2
-
x86
-
windows_vista
OPERATING SYSTEM(S):
--------------------
Windows Vista for x86 (Japanese)
Windows Vista for x64 (Japanese)
FULL JDK VERSION(S):
-------------------
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode)
DESCRIPTION:
------------
On focus change operation, MS-IME's preedit area is changed to black,
then preedit string is not readable.
Test instructions are as follows:
1. Compile and run attached test program on Windows Vista (Japanese)
2. Window focus should be in Canvas window.
If not, move window focus to Canvas window (right side)
and click inside of Canvas window by mouse
3. Turn on IME and type "ai"
4. Press Space key to display candidate window
(At this time, don't commit preedit string)
5. Move window focus to List window (left side).
(Just click window frame by mouse)
Then candidate window is disappeared
6. Move window focus to Canvas window.
Candidate window is displayed, but preedit area is changed to black
and preedit string is not readable. <== PROBLEM
====================================================
import java.awt.*;
import java.awt.event.*;
class ComponentsTest {
ComponentsTest(Component comp, int x, int y) {
if (comp instanceof List) {
List l = (List) comp;
l.add("abc");
l.add("xyz");
l.add("123");
} else if (comp instanceof Choice) {
Choice c = (Choice) comp;
c.add("abc");
c.add("xyz");
c.add("123");
}
Frame f = new Frame(comp.getClass().getName());
f.add(comp);
f.setSize(200, 200);
comp.addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent kv) { System.out.println("keyPressed");};
});
f.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent ev) { System.exit(0); }
});
f.setLocation(x, y);
f.setVisible(true);
comp.requestFocus();
}
public static void main(String[] args) {
new ComponentsTest(new List(), 0, 0);
new ComponentsTest(new Canvas(), 200, 0);
}
}
====================================================
--------------------
Windows Vista for x86 (Japanese)
Windows Vista for x64 (Japanese)
FULL JDK VERSION(S):
-------------------
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode)
DESCRIPTION:
------------
On focus change operation, MS-IME's preedit area is changed to black,
then preedit string is not readable.
Test instructions are as follows:
1. Compile and run attached test program on Windows Vista (Japanese)
2. Window focus should be in Canvas window.
If not, move window focus to Canvas window (right side)
and click inside of Canvas window by mouse
3. Turn on IME and type "ai"
4. Press Space key to display candidate window
(At this time, don't commit preedit string)
5. Move window focus to List window (left side).
(Just click window frame by mouse)
Then candidate window is disappeared
6. Move window focus to Canvas window.
Candidate window is displayed, but preedit area is changed to black
and preedit string is not readable. <== PROBLEM
====================================================
import java.awt.*;
import java.awt.event.*;
class ComponentsTest {
ComponentsTest(Component comp, int x, int y) {
if (comp instanceof List) {
List l = (List) comp;
l.add("abc");
l.add("xyz");
l.add("123");
} else if (comp instanceof Choice) {
Choice c = (Choice) comp;
c.add("abc");
c.add("xyz");
c.add("123");
}
Frame f = new Frame(comp.getClass().getName());
f.add(comp);
f.setSize(200, 200);
comp.addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent kv) { System.out.println("keyPressed");};
});
f.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent ev) { System.exit(0); }
});
f.setLocation(x, y);
f.setVisible(true);
comp.requestFocus();
}
public static void main(String[] args) {
new ComponentsTest(new List(), 0, 0);
new ComponentsTest(new Canvas(), 200, 0);
}
}
====================================================
- duplicates
-
JDK-6599382 [Win] IME's preedit area is shown as black on passive component
-
- Closed
-