Turn: http://developer.51cto.com/art/200906/128742.htm
Problem: the default operating interfaces of netbeans downloaded from the official website, both Chinese and English, are Chinese, and the font is disgusting.
Cause: netbeans automatically sets the interface language based on the local operating system and does not provide the changed function.
Objective: to change the Chinese version of netbeans to English and enable the system to support Chinese.
Solution:
Enter netbeans 6.5 \ etc, where netbeans 6.5 is the installation path of netbeans.
Edit netbeans. conf
SetNetbeans_default_options adds two parameters.:
-J-Duser.language = ZH-J-Duser.country = us
That is, change:
- Netbeans_default_options="-J-client-J-xverify: None-J-Xss2m-J-Xms32m-J-XX: permsize = 32 m-J-XX: maxpermsize = 200 m-J-Dapple.laf.useScreenMenuBar = true-J-Dsun.java2d.noddraw = true-J-Duser.language = ZH-J-Duser.country = us"
Chinese version of netbeans:
For more information about the preceding parameters, see the netbeans guide:
Http://www.netbeans.org/kb/55/using-netbeans/configuring.html#pgfId-1158626
The following parameters-J-Duser.language = ZH-J-Duser.country = us -- fontsize 13 are called Java's own system properties, set the language to Chinese, the country to the United States. This is important!
In the United States, the netbeans interface is English, while the language is Chinese, so that netbeans can support Chinese. If you only need English, you can set the language to en, however, when the file browser is called, the Chinese buttons of a series of Windows features on the left are all garbled.
Set the default font of all ages to a Chinese font under tools \ options \ fonts & colors \ syntax \ In netbeans, for example, Microsoft yahei.