-
Bug
-
Resolution: Not an Issue
-
P5
-
5.0
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP
Professional
Version 2002
Service Pack 2
A DESCRIPTION OF THE PROBLEM :
"OK" and "Cancel" strings in Windows Look and Feel don't follow Windows convention.
Windows standard convention:
OK = "OK"
Cancel = "\u30ad\u30e3\u30f3\u30bb\u30eb"
Windows Look & Feel
OK = "\u4e86\u89e3"
Cancel = "\u53d6\u6d88\u3057"
It seems it's a regression of bug-id 4189293.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4189293
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the attached test case on Japanese version of Widnows.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
"OK" is displayed as "OK".
"Cancel" is displayed as "\u30ad\u30e3\u30f3\u30bb\u30eb".
ACTUAL -
"OK" is displayed as "\u4e86\u89e3".
"Cancel" is displayed as "\u53d6\u6d88\u3057".
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error messages.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.JOptionPane;
public class OKCancelButtonProblemTest {
public static void main(String[] args) {
JOptionPane.showConfirmDialog(null, "Message", "Title", JOptionPane.YES_NO_CANCEL_OPTION);
}
}
---------- END SOURCE ----------
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP
Professional
Version 2002
Service Pack 2
A DESCRIPTION OF THE PROBLEM :
"OK" and "Cancel" strings in Windows Look and Feel don't follow Windows convention.
Windows standard convention:
OK = "OK"
Cancel = "\u30ad\u30e3\u30f3\u30bb\u30eb"
Windows Look & Feel
OK = "\u4e86\u89e3"
Cancel = "\u53d6\u6d88\u3057"
It seems it's a regression of bug-id 4189293.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4189293
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the attached test case on Japanese version of Widnows.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
"OK" is displayed as "OK".
"Cancel" is displayed as "\u30ad\u30e3\u30f3\u30bb\u30eb".
ACTUAL -
"OK" is displayed as "\u4e86\u89e3".
"Cancel" is displayed as "\u53d6\u6d88\u3057".
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error messages.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.JOptionPane;
public class OKCancelButtonProblemTest {
public static void main(String[] args) {
JOptionPane.showConfirmDialog(null, "Message", "Title", JOptionPane.YES_NO_CANCEL_OPTION);
}
}
---------- END SOURCE ----------