汉字显示
applet中,按钮上的文字。本来可以正常显示的,但是我想改按钮的效果,于是我加了
try {
final String lookAndFeelClassName = WindowsLookAndFeel.class.getName();
UIManager.setLookAndFeel(lookAndFeelClassName);
}
catch (Exception ex) {
System.out.println(ex.getMessage());
}
结果汉字出现的地方全部用“口”代替了。
请问怎么办?谢谢