netbeans IDE scaling on Win10

URL Link //n.sfs.tw/11621

2017-08-14 14:44:05 By

if you ever had this problem like i did,

here's the quick solution.

problem: when windows 10 starts, the netbeans program will determinte the DPI option to change its default font size on working window tabs,

so if you had a high resolution monitor, the netbeans started like this figure below.

you can tell how big difference between up widow tab and lower window tab's font size

 

the solution is, find "netbeans.conf" file, usually located at: C:\Program Files\NetBeans 8.2\etc

and modified this line: netbeans_default_options=..........

change"-J-Dsun.java2d.dpiaware=true" to "-J-Dsun.java2d.dpiaware=false"

saved the conf file, then restart netbeans

now you can see it works.