Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Font Display Issues when Launching AWT Application in Eclipse
Font Display Issues when Launching AWT Application in Eclipse [message #922462] Tue, 25 September 2012 03:18 Go to next message
Thomas Chiu is currently offline 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: Tue, 25 September 2012 03:21]

Report message to a moderator

Re: Font Display Issues when Launching AWT Application in Eclipse [message #923019 is a reply to message #922462] Tue, 25 September 2012 14:43 Go to previous message
Stephan Herrmann is currently offline Stephan Herrmann
Messages: 1007
Registered: July 2009
Senior Member
Hint: after running in Eclipse select the terminated launch, inspect it's properties and check how Eclipse invokes Java - any extra/missing argument?

I don't, however, see how JDT could be to blame here.
Previous Topic:eclipse IDE shows ctrl shortcut instead of running it
Next Topic:get changes on performFinish in RefactoringWizard
Goto Forum:
  


Current Time: Thu Sep 18 07:52:48 GMT 2014

Powered by FUDForum. Page generated in 0.12607 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software