The time when NetBeans 6.5 releases,many Chinese users feel that the default interface and font are not so attractive in the windows xp environment .So I'd like to share my exprience of how to do the interface embellishment and font setting.
(1)Install the newest JDK
Pls download the Java SE Development Kit (JDK) 6 Update 10 or higher edition to supprot the antialiasing font better.
The JDK download link:http://java.sun.com/javase/downloads/index.jsp
(2)Install ClearType
ClearType Tuner PowerToy can be used ot adjust the Expert Settings of antialiasing font.With the help of it, you can make the font more boldfaced.

Download this software:http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx
(3)Modify the start setting of NetBeans
Open filw netbeans.conf from the path C:\Program Files\NetBeans 6.5\etc\ and find the lines like below:
# Options used by NetBeans launcher by default, can be overridden by explicit # command line switches: netbeans_default_options=.....
Add –fontsize 12 –laf javax.swing.plaf.metal.MetalLookAndFeel to the parameter string of netbeans_default_options ,then it looks like this:
(4)Modify the setting of Java font
Open C:\Program Files\Java\jdk1.6.0_10\jre\lib ,Rename or delete the fontconfig.98.bfc and fontconfig.98.properties.src two files.After that, Make a copy of fontconfig.properties.src and save as fontconfig.properties, then open the fontconfig.properties with text editor .
The reason why modifying the conf file is to display the Java Program with diffrent font when ie has both Chinese and English strings. Like this belowing code:
/**
* 通过控件视图渲染结果 * * 对应的控件视图文件是 view/_controls/footer_control.php 。 */ $this->_renderBlock('footer', $return);
The Chinese part Use Song Ti and the English part use Consolas, Here is the displaying effect:

In order to achieve the above effect, it needs to modify three parts of the font file.
A:Defination of filename:Make sure the correspondence between font name and the font filename;
B:The correspondence between virtual font and actual font:Make sure which actual font is used to display
the specific virtual font;
C:Make sure which font can be used to display the strings.
The font filename can use the belowing format.You can also define your favorite font by yourself.But please should keep it in mind that the font name can not be used in Chinese.Like below:
# filename. 字体名=字体文件名 filename.Consolas=CONSOLA.TTF filename.Consolas_Bold=CONSOLAB.TTF filename.Consolas_Italic=CONSOLAI.TTF filename.Consolas_Bold_Italic=CONSOLAZ.TTF
After defining the font name, we can specify the correspondence between virtual font and actual font.
For example:I make the default monospaced (virtual font)specify to the newly defined Consolas ,and
change the configuration as follows:
monospaced.plain.alphabetic=Courier New
monospaced.bold.alphabetic=Courier New Bold
monospaced.italic.alphabetic=Courier New Italic
monospaced.bolditalic.alphabetic=Courier New Bold Italic
# modified as
monospaced.plain.alphabetic=Consolas
monospaced.bold.alphabetic=Consolas Bold
monospaced.italic.alphabetic=Consolas Italic
monospaced.bolditalic.alphabetic=Consolas Bold Ttalic
Finally,make change for the font searching order .After modifing,it will search for English font first and Chinese font second.As there is no Chinese font style in the English font,so it is showed clearly when using different English and Chinese font.
sequence.monospaced.GBK=chinese-ms936,alphabetic,dingbats,symbol
sequence.monospaced.GB18030=chinese-gb18030,alphabetic,dingbats,symbol
# Modified as
sequence.monospaced.GBK=alphabetic,chinese-ms936,dingbats,symbol
sequence.monospaced.GB18030=alphabetic,chinese-gb18030,dingbats,symbol
After finishing all the steps above, restart NetBeans,it looks like more attractive.
