| Font Display Issues when Launching AWT Application in Eclipse [message #922462] |
Mon, 24 September 2012 23:18  |
Thomas Chiu Messages: 1 Registered: September 2012 |
Junior Member |
|
|
When running following AWT code in Eclipse, the Unicode character cannot be displayed.
public static void main(String[] args) {
Button n = new Button("\u868a");
JOptionPane.showConfirmDialog(null, n);
}
However when running the compiled code from Eclipse using java command, the Unicode character can be displayed properly.
If using SWING JButton, there is no such problem.
I hardly dig out any hints from Google. Please help!
[Updated on: Mon, 24 September 2012 23:21] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01544 seconds