Brian Knoblauch
Brian Knoblauch

Reputation: 21389

Applications run inside of Netbeans scaling issue

Related to, but different from, NetBeans IDE scaling on Windows 8

I've already updated the NetBeans.conf file (as above), so NetBeans is working fine. I also have updated my JNLP files, so end users get the proper scaling of the deployed application. However, there's one remaining case that is unsolved. Running my application inside NetBeans exhibits the original scaling issue despite the config change. Doing the obvious of adding the -Dsun.java2d.dpiaware=false parameter to the VM Options in the Run section of Project Properties appears to have no effect. I know other options work fine there, because I depend on a couple others.

How can I get applications run from inside NetBeans to respect the -Dsun.java2d.dpiaware=false scaling option?

Upvotes: 0

Views: 262

Answers (1)

Brian Knoblauch
Brian Knoblauch

Reputation: 21389

Run the application in NetBeans. Open the task manager and find that App. Right click on it and select "properties". Go to the "Compatibility" tab and check the "Override high DPI scaling behavior. Scaling performed by:" and set the drop down to "System".

Upvotes: 1

Related Questions