Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.7.0_80
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.80-b11
Created attachment 153718 [details]
This is also an issue with the upcoming 8.1 release on UHD/4K displays on Windows 10. The UI must listen to the global dpi settings, otherwise it becomes unusable on smaller UHD displays.
Not bound to Windows. Experiencing the same on Linux.
OS: ubuntu 15.10 (64-bit)
Product Version: NetBeans IDE 8.1 (Build 201510222201)
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b17
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b17
System: Linux version 4.2.0-23-generic running on amd64; UTF-8; en_US (nb)
I also would like to stress the need to fix this, since many new laptops (such as the Dell XPS 15 / Precision 5510) ship with 4K HiDPI screens. I just bought the latter one, and Netbeans looks amateurish compared to native GTK applications. Attaching a screenshot.
Created attachment 158154 [details]
Screenshot of Netbeans 8.1 on a HiDPI/4k (3840x2160) screen using Oracle JDK8u66 in ElementaryOS Freya (Linux)
Created attachment 158158 [details]
Screenshot of Netbeans 8.1 (with the new Darcula theme) on a HiDPI/4k (3840x2160) screen using Oracle JDK8u66 in ElementaryOS Freya (Linux)
You need the eyes of a hawk to use NB on this screen...
Created attachment 158256 [details]
Screenshot of Netbeans 8.1 (with the new Darcula theme) on a HiDPI/4k (3840x2160) screen using Oracle JDK8u66 in Windows 10
And here's how it looks in Windows on the same laptop (Dell Precision 5510). Notice the difference in font rendering between Java/Netbeans and the native font rendering of the desktop icons. It puts a strain on the eyes :(
I too was having the same issues on a large display, but found that by adding the font option in netbeans.conf, does the UI fonts were much more legable (restart Netbeans to activate).
Currently I'm using the settings below on a 2560x1400 screen, but you'll need to salt to suit your particular tastes. ;)
Be aware though that there are other bugs in the UI that stop all of the controls scaling to match the new, large font. For me, the general size improvement far outweighs the hassle of messing around, enlarging the occasional dialog to see the contents.
Looks like support is built into JDK9 http://openjdk.java.net/jeps/263
We need a patch now I think, not waiting to NB9
the trick with the dpiaware=false was first step. Because it looks good but after 3 seconds NetBeans resizes back to getting smaller. I googled and I found this: http://stackoverflow.com/questions/23651486/netbeans-ide-scaling-on-windows-8
the thing with the registry and manifests (for windows 10) worked for me. I can work again.
Hope that this will be fixed in NetBeans 9. This is really needed.
Seems not fixed in the newest nightly build :/
I think they're just waiting for Java 9 release (this July) which is supposed to fix HiDPI problem for all Java applications including Netbean: http://openjdk.java.net/jeps/263
Will it be fixed in Netbeans 9? World be awesome
This is clearly not making progress, and we are not past jdk8 EA. I have a dell precision 7520 with a 3840x2160 display, running Fedora 26. The display card is Quadro M1200 Mobile. The NB, Java and specific OS versions are listed below.
I've tried with -J-Dsun.java2d.dpiaware=false and =true
I've tried with -J--add-modules=java.se.ee (which does address bug #271499)
But still all the icons and text fields are far too small. One screenshot attached.
Product Version: NetBeans IDE Dev (Build 201712030002)
Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
Runtime: Java(TM) SE Runtime Environment 9.0.1+11
System: Linux version 4.13.13-200.fc26.x86_64 running on amd64; UTF-8; en_US (nb)
User directory: /home/toddb/.netbeans/dev
Cache directory: /home/toddb/.cache/netbeans/dev
Created attachment 165538 [details]
Full screen shot of 4k display running jdk9 and NB
Correction: "...and we are now well past jdk9 EA.
As I already said, this workaround helped me: http://stackoverflow.com/questions/23651486/netbeans-ide-scaling-on-windows-8. Of course it is only a workaround, but it could help you too.
Can you please create a new ticket at the new Bugtracker JIRA? https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=216
So you can reference this ticket to the other one as an external issue and we can close it here. Would be great. thx :)