-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
5.0u10
-
sparc
-
solaris_2.5.1
*** Please note that the platform is Solaris X86 10, NOT Solaris x86 2.7 ***
Recreate steps:
1. Set up Japanese environment and login
2. Launch a Java application which has AWT Text component with XToolkit.
$ AWT_TOOLKIT=XToolkit java TextAreaTest
3. Press Ctrl+Space key to activate ATOK.
4. Input some Japanese characters and keep them preedit.
These characters are decorated as underline.
5. Drag some underlined Japanese characters.
=> Selected characters are shown as black box. We cannot read them.
If input characters are decorated as reversed and selected,
they are not changed. We cannot tell they are selected or not.
Swing Text components use blue for selecting and we can tell them.
Also, Swing text can change colors, but AWT text cannot.
This also occurs on 6.0 (b105).
----TextAreaTest.java----
import java.awt.*;
public class TextAreaTest extends TextArea {
public TextAreaTest() {
super();
}
public static void main(String[] args) {
Frame frame = new Frame();
frame.add(new TextAreaTest());
frame.setSize(300, 100);
frame.setVisible(true);
}
}
-----------------------
Recreate steps:
1. Set up Japanese environment and login
2. Launch a Java application which has AWT Text component with XToolkit.
$ AWT_TOOLKIT=XToolkit java TextAreaTest
3. Press Ctrl+Space key to activate ATOK.
4. Input some Japanese characters and keep them preedit.
These characters are decorated as underline.
5. Drag some underlined Japanese characters.
=> Selected characters are shown as black box. We cannot read them.
If input characters are decorated as reversed and selected,
they are not changed. We cannot tell they are selected or not.
Swing Text components use blue for selecting and we can tell them.
Also, Swing text can change colors, but AWT text cannot.
This also occurs on 6.0 (b105).
----TextAreaTest.java----
import java.awt.*;
public class TextAreaTest extends TextArea {
public TextAreaTest() {
super();
}
public static void main(String[] args) {
Frame frame = new Frame();
frame.add(new TextAreaTest());
frame.setSize(300, 100);
frame.setVisible(true);
}
}
-----------------------
- duplicates
-
JDK-6509670 On XAWT Text, japanese characters inputted by InputMethod and selected are blacked out.
-
- Open
-