Netbeans looked uncomfortable with the font in Ubuntu. It was not clear a long line. After checking it, it was found that the font was de-toothed and a solution was found on the Internet:
Find the netbeans settings file, you can use the command locate (whereis) netbeans. conf, usually in/usr/local/netbeans-6.8/etc/netbeans. conf
Modify the Configuration:
Sudo VI/usr/local/netbeans-6.8/etc/netbeans. conf
The default content is:
# $ {Home} will be replaced by JVM user. Home System Property
Netbeans_default_userdir = "$ {home}/. netbeans/6.8"
# Options used by netbeans launcher by default, can be overridden by explicit
# Command line switches:
Netbeans_default_options = "-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"
# 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 = "/home/Hawk/progfiles/jdk1.6.0 _ 18"
Add the blue part above to the following sentence:
Netbeans_default_options = "-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-Dawt.useSystemAAFontSettings = on"