Well, Apache kindly removes the images from mails. So I just suspect it is more like a font rendering issue.

Somehow Java 10 reintroduced the fontconfig.Ubuntu.properties* under $JAVA_HOME/lib

That file is really old and comes from the pre-Ubuntu font ages. Itmakes the IDE really ugly as forcing it to render not available fonts.

Just get rid of that file and Netbeans will look good again on GTK.


On 05/08/2018 05:33 AM, Martin Weißhaupt wrote:
I have noticed something strange when I tried the NetBeans 9 Beta. I wanted to create a ticket in Jira but noticed that NetBeans 9 was running with Java 10 which seems to produce rendering issues. So this is propably not a problem of NetBeans but the GTK look and feel.

The first image shows how it should look like and the second shows multiple problems that exist with the GTK3 look and feel which seems to be used by Java 10.

Is there anything that can be done by NetBeans to prevent this? Forcing Java 8 or using a different look and feel fixes the issue for me but this is only a workaround. This also happens with my own Swing apps so should I create a ticket for OpenJDK?

I'm running Ubuntu 18.04 and the GTK Theme used does not seem to matter.

NetBeans 8.2 running on Java 8 with the GTK2 Theme:


NetBeans 9 running on Java 10 with parts of the GTK3 Theme:

​

Reply via email to