-
Bug
-
Resolution: Unresolved
-
P5
-
None
-
5.0
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows XP Professional with SP1a (Simplified Chinese)
EXTRA RELEVANT SYSTEM CONFIGURATION :
NetVista M42 8307-41C (CPU: Pentium 4 2.4GHz, Memory: 1G, Video: Intel 82845G)
A DESCRIPTION OF THE PROBLEM :
double click on Extension-A character for selected, e.g. \u3400.
but i has selected letter and Extension-A character
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile and run test case : Test007.java
2. Move focus to line end
3. Double click on Extension-A character
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Extension-A character should be selected
ACTUAL -
Letter and Extension-A character is selected.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Nothing
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
public class Test007 {
public static void main(String[] args) {
JFrame jframe = new JFrame("Test Case.");
JTextArea jta = new JTextArea("Hello world\u3400");
jframe.getContentPane().add(jta);
jframe.pack();
jframe.setSize(160, 80);
jframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jframe.setVisible(true);
}
}
---------- END SOURCE ----------
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows XP Professional with SP1a (Simplified Chinese)
EXTRA RELEVANT SYSTEM CONFIGURATION :
NetVista M42 8307-41C (CPU: Pentium 4 2.4GHz, Memory: 1G, Video: Intel 82845G)
A DESCRIPTION OF THE PROBLEM :
double click on Extension-A character for selected, e.g. \u3400.
but i has selected letter and Extension-A character
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile and run test case : Test007.java
2. Move focus to line end
3. Double click on Extension-A character
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Extension-A character should be selected
ACTUAL -
Letter and Extension-A character is selected.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Nothing
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
public class Test007 {
public static void main(String[] args) {
JFrame jframe = new JFrame("Test Case.");
JTextArea jta = new JTextArea("Hello world\u3400");
jframe.getContentPane().add(jta);
jframe.pack();
jframe.setSize(160, 80);
jframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jframe.setVisible(true);
}
}
---------- END SOURCE ----------