Php: modify the default NetBeans font. Due to the use of Swing for development in Netbeans, the UI font is also configured by the Java virtual machine instead of the operating system. The default font size after Netbeans is installed is developed using Swing in Netbeans. Therefore, the font of the interface is configured by the Java virtual machine instead of the operating system. The default font size after installing Netbeans is 11px. In Windows, supports a minimum of 12px. Therefore, the font 11px cannot be fully displayed.
The simple solution is to increase the font size. The detailed method is to open the etc \ Netbeans. conf file under the netbeans installation directory. In:
Netbeans_default_options = "-J-client-J-Xss2m-J-Xms32m-J-XX: PermSize = 128 m-J-XX: maxPermSize = 200 m-J-Dnetbeans.logger.console = true-J-ea-J-Dapple.laf.useScreenMenuBar = true-J-Dsun.java2d.noddraw = true"
-- Fontsize 12 is added before the last quotation mark of this line. That is, change:
Netbeans_default_options = "-J-client-J-Xss2m-J-Xms32m-J-XX: PermSize = 128 m-J-XX: maxPermSize = 200 m-J-Dnetbeans.logger.console = true-J-ea-J-Dapple.laf.useScreenMenuBar = true-J-Dsun.java2d.noddraw = true -- fontsize 12"
When you restart Netbeans, you will find that you have changed to a normal size, which is no longer so ugly.
By default, the NetBeans editor and Output fonts are ugly. You can modify the font configuration in the editor. However, the Output font cannot be modified through configuration.
You can modify the default JDK configuration. However, all Java GUI programs will be affected.
The following uses JDK 7 as an example.
In /Jre/lib has a file named fontconfig. properties. src, which is backed up first.
By default, when the configuration file is GBK or GB18030, SImSUN (I .e.) is preferentially used for monospace. you can change it to Courier New (which is defined as alphabetic in the file ).
Find sequence. monospaced. GBK = chinese-ms936, alphabetic, dingbats, symbol
Replace with sequence. monospaced. GBK = alphabetic, chinese-ms936, dingbats, symbol
Find sequence. monospaced. GB18030 = chinese-gb18030, alphabetic, dingbats, symbol
Replace with sequence. monospaced. GB18030 = alphabetic, chinese-gb18030, dingbats, symbol
Finally, restart Netbeans to see the change.
Bytes. Default font size after installing Netbeans...