Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » When Javadoc contains Chinese character, the file looks disorder
When Javadoc contains Chinese character, the file looks disorder [message #1793989] Wed, 22 August 2018 03:24 Go to next message
Charles Fireround is currently offline Charles FireroundFriend
Messages: 1
Registered: August 2018
Junior Member
When Javadoc contains Chinese character, the file looks disorder. The picture is in the attachment. Does anyone know how to solve it?
Re: When Javadoc contains Chinese character, the file looks disorder [message #1794051 is a reply to message #1793989] Thu, 23 August 2018 02:02 Go to previous message
Patrick Moran is currently offline Patrick MoranFriend
Messages: 62
Registered: March 2018
Member
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

Previous Topic:Unexpected results of creating module-info.java
Next Topic:epf..eclipse.org is down
Goto Forum:
  


Current Time: Sat Sep 22 09:26:41 GMT 2018

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

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

Back to the top