Originally posted on Hanynowsky:
Whatever issue you’ve got with the Look & Feel in Ubuntu 12.04 PP, running Netbeans, you can set the LAF native look & Feel instead of the GTK one (which has by the way several issues under Linux).
Go to your netbeans directory (ex: /home/user/netbeans7.2/etc) and open the file :
then add the following line to netbeans options:
-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd --laf Metal
Start Netbeans and it should look like this:
You can achieve the same result running netbeans with sudo command:
sudo sh /home/youruserhomename/netbeans-7.2.1/bin/netbeans
But this is not recommended.
Or by running netbeans with LAF parameter:
if you really want to keep the GTK look and feel for netbeans, then you have to modify the default general interface font in Ubuntu :
To something else than Ubuntu regular font which is bolder than the other usual fonts. Choose Sans or Droid Sans.
View original 63 more words