Tune look&feel, language for NetBeans

To change the look&feel, language for NetBeans (改变NetBeans的外观和默认的语言环境), especially for the IDE on Windows XP with default language – Chinese: Modify ‘netbeans.conf’ under your ‘$NETBEANS_HOME/etc/’  by adding

–laf javax.swing.plaf.metal.MetalLookAndFeel //change the look&feel into Java metal style

–locale en_US // change the language into English, zh_CN is Chinese

# ${HOME} will be replaced by JVM user.home system property
netbeans_default_userdir=“${HOME}/.netbeans/6.7”

# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
netbeans_default_options=“-J-Dorg.glassfish.v3.installRoot=”C:Program Filessges-v3-prelude” -J-Dcom.sun.aas.installRoot=”C:SunAppServer” -J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true –laf javax.swing.plaf.metal.MetalLookAndFeel –locale en_US

# Note that a default -Xmx is selected for you automatically.
# You can find this value in var/log/messages.log file in your userdir.
# The automatically selected value can be overridden by specifying -J-Xmx here
# or on the command line.

# If you specify the heap size (-Xmx) explicitely, you may also want to enable
# Concurrent Mark & Sweep garbage collector. In such case add the following
# options to the netbeans_default_options:
# -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled
# (see
http://wiki.netbeans.org/wiki/view/FaqGCPauses)

# Default location of JDK, can be overridden by using –jdkhome <dir>:
netbeans_jdkhome=“D:programJavajdk1.6.0_16”

# Additional module clusters, using ${path.separator} (‘;’ on Windows or ‘:’ on Unix):
#netbeans_extraclusters=”/absolute/path/to/cluster1:/absolute/path/to/cluster2″

# If you have some problems with detect of proxy settings, you may want to enable
# detect the proxy settings provided by JDK5 or higher.
# In such case add -J-Djava.net.useSystemProxies=true to the netbeans_default_options.

About daveti

Interested in kernel hacking, compilers, machine learning and guitars.
This entry was posted in IDE_Make and tagged , . Bookmark the permalink.

4 Responses to Tune look&feel, language for NetBeans

  1. daveti says:

    This should work for NB < 6.5. For newer versions, the config should be like '–laf Metal' if traditional Java Metal look-and-feel is expected. Detailed info could be found here: http://wiki.netbeans.org/NBLookAndFeels

  2. daveti says:

    I mean “- – laf”. Not sure why double consistent “-” look like “–“…

  3. Lane Overbee says:

    Sorry, but I dispute with this blog post. I do delight in your weblog still and will keep moving in return for news.

  4. daveti says:

    – -laf xxxx
    – -locale xxxx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s