Netbeans sets the default encoding and menu font size ..

Source: Internet
Author: User
Tags netbeans

1. default encoding settings:

1. Find the ETC folder under the netbeans installation directory. My files are D: \ Program Files \ netbeans 6.8 \ etc.

2. Open the netbeans. conf (netbeans configuration file, which reads the configuration parameters from this file when you start netbeans ..

3. Find netbeans_default_options = (My rows are in line 5th), for example, the line in blue.

 

4. add-J-Dfile.encoding = GBK (with a space in front) to the last line of the last line found in the previous step ), if you want to set it to another encoding format, write the corresponding encoding name after the = sign.
The following are my settings:
Netbeans_default_options = "-- fontsize 13-J-Dorg.glassfish.v3ee6.installRoot = \" H: \ Program Files \ sges-v3 \ "-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-Dfile.encoding = GBK"

Restart netbeans, create a project, right-click the project and check the properties. The default encoding is GBK. If the original project is not GBK, right-click the project to open the properties, select GBK to save the encoding ..

For example:

 

Ii. menu font size

This is also the above configuration file netbeans. the same line of conf, but this is added in front of the netbeans_default_options = "" quotation mark -- fontsize 13. The above-mentioned settings already include this, -- fontsize 13 indicates that the font size of the menu is set to 13. If you want to set the font size to a large value, you can change 13 to a large value.

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.