Skip to content

Fixing Netbeans 4:3 Scaling Issue

Netbeans is not the first option when programming in Java, but sometimes we are required to use it. What makes Netbeans even worse is out of the box it has a scaling issue for 4:3 aspect ratio devices.

Opening up Netbeans you can see the issue. You can’t see anything at all! The icons and menus are so small it makes the program almost unusable when coding Java projects in Windows.

netbeans aspect ratio issue

In order to fix this we have to modify the Netbeans configuration file. Here is how to fix this.

Open up the configuration file with administrator privileges with your favorite editor. It’s located here.

C:\Program Files\NetBeans X.0\etc\netbeans.conf

Search the configuration file and look for the netbeans_default_options variable and look for this sub-string.

-J-Dsun.java2d.dpiaware=true

Change this to

-J-Dsun.java2d.dpiaware=false

Save the file and re-open Netbeans. Voilà!

netbeans fix

Michael has been a professional in the information technology field for over 20 years, specializing in software engineering and systems administration. He studied network security and holds a software engineering degree from Milwaukee Area Technical College with thousands of hours of self-taught learning as well. He mainly writes about technology, current events, and coding. Michael also is the founder of Sof Digital, an U.S. based software development Firm. His hobbies are archery, turntablism, disc golf and rally racing.

Leave a Reply

Your email address will not be published. Required fields are marked *