-
Bug
-
Resolution: Won't Fix
-
P3
-
6u12
-
x86
-
windows
Problem:
Some character shown as square boxed shown in popup menu. Like \u3100, \u3111,etc.
Reproduce:
1. install jdk from
http://jre.sfbay/java/re/jdk/6u12/promoted/all/b02/j4b/bundles/windows-i586/jdkfb-6u12-ea-bin-b02-windows-i586-p-08_dec_2008.exe
2. Compile and run TitleViewFrame.java
======================================================================================
import java.awt.*;
public class TitleViewFrame extends Frame{
PopupMenu popit;
public static void main(String[] args) {
//Create and set up the window.
TitleViewFrame frame = new TitleViewFrame();
//Display the window.
frame.setSize(600, 600);
frame.setVisible(true);
frame.setview();
}
public TitleViewFrame(){
super("Title View ronder test");
}
public void setview() {
String chs = new String("\u3110");
setTitle(chs);
popit = new PopupMenu(chs);
popit.add(new MenuItem(chs));
add(popit);
popit.show(this, 0, 0);
}
}
======================================================================================
Some character shown as square boxed shown in popup menu. Like \u3100, \u3111,etc.
Reproduce:
1. install jdk from
http://jre.sfbay/java/re/jdk/6u12/promoted/all/b02/j4b/bundles/windows-i586/jdkfb-6u12-ea-bin-b02-windows-i586-p-08_dec_2008.exe
2. Compile and run TitleViewFrame.java
======================================================================================
import java.awt.*;
public class TitleViewFrame extends Frame{
PopupMenu popit;
public static void main(String[] args) {
//Create and set up the window.
TitleViewFrame frame = new TitleViewFrame();
//Display the window.
frame.setSize(600, 600);
frame.setVisible(true);
frame.setview();
}
public TitleViewFrame(){
super("Title View ronder test");
}
public void setview() {
String chs = new String("\u3110");
setTitle(chs);
popit = new PopupMenu(chs);
popit.add(new MenuItem(chs));
add(popit);
popit.show(this, 0, 0);
}
}
======================================================================================
- relates to
-
JDK-6543928 java.awt.choice is not able to display unicode charecters like \u2019
-
- Open
-