|Re: When Javadoc contains Chinese character, the file looks disorder [message #1794051 is a reply to message #1793989]
||Thu, 23 August 2018 02:02
| Patrick Moran
Registered: March 2018
There is not much in your attached screen shot. It is a comment, so the fact that the Chinese isn't to your liking there is not a very big problem. |
I was working on something else, so I just typed in three lines, each in a different font that is designed for Chinese text display, to show you. It's the displayed text that you need to make look nice.
The basic screen font that Eclipse uses is unicode, so you can do Chinese with it, but it's not necessarily the best looking, not what you would like users to see.
Look at the attached screen shot. When you make your program, creat something like a JTextField and in the design mode select "text" (then input some Chinese text) and then 5 lines above look for "font." You can go in there and try to find your favorite Chinese font in simplified. (Sorry, I don't have it on this computer yet.)_ When you are in display mode you can see the characters change font as soon as you shift focus over to the GUI part of the screen.
If you just want your own display to look nicer when you are programming, then you need to learn how to set the preferences for font and size used by Eclipse.
I've added a screen from an application I've been working on recently.
[Updated on: Thu, 23 August 2018 05:09]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02945 seconds