I want to improve the ugly fonts in netbeans 6.7.1 on Fedora 12. I tried adding this to the start options:
--laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel
via the netbeans.conf
from some posted hints on the internet but it doesn't seem to help. I'm using the latest KDE4 (4.3.3-3) on Fedora 12 and openjdk
Code:
$> java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6) (fedora-33.b16.fc12-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) .
I've confirmed the --laf option is being passed to the netbeans by running
ps ax | grep netbeans
and I see it on the option list to the JVM for netbeans. I suspect my option above only works well on Gnome desktop and KDE4 needs something else?
UPDATE I think this will improve the netbeans fonts both in the edited files and in the netbeans app menus:
Add this to the $home/.netbeans/6.7/etc/netbeans.conf
file (you'd likely need to copy netbeans.conf from /usr/share/netbeans/6.7.1/etc/netbeans.conf )
for the netbeans_default_options=
Quote:
|
-J-Dawt.useSystemAAFontSettings=on -J-Dswing.aatext=true --laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel
|
This works fine in Gnome, now I'll try KDE4 ---> it does