As a start for this blog, this is a video.
A lot of developers that like to use the NetBeans IDE on top of Linux complain about its ugly GUI rendering, especially fonts rendering. NetBeans requires the Java Development Kit (JDK for short) to run, and bad rendering for Swing based GUIs is due to the fact that Linux distros chip with OpenJDK as the default JDK (almost all of them), which means no anti-aliasing for GUI and fonts rendering is enabled by default. The solution is very simple, though. We can make OpenJDK render Swing based GUIs with anti-aliasing enabled by setting the right option in the _JAVA_OPTIONS environment variable. In a Terminal session, type the following command: export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on" Almost done. To make the command global (that is, we don't have to issue the same command on every system session) we can add it to our ~/.bash_profile . That's it. If you can make this tip better, feel free to add a comment below.
Comments
Post a Comment