PHP modifies the size of the NetBeans default font _php tutorial

Source: Internet
Author: User
Tags netbeans
In NetBeans because of the use of swing for development, the interface fonts are also configured by the Java Virtual machine instead of the operating system. The default font size is 11px after you install NetBeans. In the case of Windows, the minimum support is 12px. So the font 11px is not fully displayed.

The simple solution is to change the font size a bit. 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=128m-j-xx:maxpermsize=200m- J-dnetbeans.logger.console=true-j-ea-j-dapple.laf.usescreenmenubar=true-j-dsun.java2d.noddraw=true "

This line is added--fontsize 12 before the last quotation mark. That becomes:
Netbeans_default_options= "-j-client-j-xss2m-j-xms32m-j-xx:permsize=128m-j-xx:maxpermsize=200m- J-dnetbeans.logger.console=true-j-ea-j-dapple.laf.usescreenmenubar=true-j-dsun.java2d.noddraw=true--fontsize 12 "

When you restart NetBeans at this time, you will find that you have become a normal size and are no longer so ugly.

NetBeans Editor and output fonts are hard to see by default. Fonts in the editor can be resolved by modifying the configuration. However, the output font cannot be modified by configuration.
You can do this by modifying the default configuration of the JDK, but all Java GUI programs will be affected.
The following is an example of JDK7.
In /jre/lib has a name of FONTCONFIG.PROPERTIES.SRC, first back up.
When the configuration file defaults to GBK and GB18030, the equal-width word (monospace) takes precedence over SimSun (that is, Arial), which can be changed to take precedence over courier New (defined in the file as alphabetic).

Find Sequence.monospaced.gbk=chinese-ms936,alphabetic,dingbats,symbol
Change to Sequence.monospaced.gbk=alphabetic,chinese-ms936,dingbats,symbol.

Find Sequence.monospaced.gb18030=chinese-gb18030,alphabetic,dingbats,symbol
Change to Sequence.monospaced.gb18030=alphabetic,chinese-gb18030,dingbats,symbol.

Finally, you can see the change by restarting NetBeans.

http://www.bkjia.com/PHPjc/328025.html www.bkjia.com true http://www.bkjia.com/PHPjc/328025.html techarticle in NetBeans because of the use of swing for development, the interface fonts are also configured by the Java Virtual machine instead of the operating system. The default font size after NetBeans is installed ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.