Solve the ugly interface of netbeans in linux (without modifying JRE configuration)

Source: Internet
Author: User
Solve the interface ugly problem of netbeans in linux (do not modify JRE configuration)-Linux general technology-Linux programming and kernel information, the following is a detailed description. Edit file:
$ NB_HOME/etc/netbeans. conf

Modify the netbeans_default_options option,
Netbeans_default_options = "xxxxxxxxxxxxxxx"

Here, modify (the value of-J-Xms depends on the memory. Below is an example of MB)
-J-Xms64m-J-XX: PermSize = 32 m-J-XX: MaxPermSize = 192 m

Add double quotation marks before the end (note that there is a space at the beginning of the line)
-J-DuseGtk = true-J-Xverify: none -J-Djava.net. preferIPv4Stack = true

Among them, "-J-DuseGtk = true" is to use the GTK style on the interface, so that the font is no longer configured. Of course, the premise is to use JDK 6. Instead of adding this item, Fedora automatically uses GTK because the ubuntulooks topic engine is not available in the Netbeans support list.

Note:
1. If you are using a Windows Chinese version and do not like the English font on the NetBeans interface, you can change it:

Netbeans_default_options = "-J-Xms32m-J-Xmx128m-J-XX: PermSize = 32 m-J-XX: maxPermSize = 160 m-J-Dnetbeans.logger.console = true-J-ea-J-Dapple.laf.useScreenMenuBar = true-J-Duser.language = en-J-Duser.country = US -- fontsize 11"

2. The default Font is monospace. You can select font & Color from Tools> Options and change it to the default Font. Generally, Lucida Sans TypeWriter works best.

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.