Sorry I got confused about version 11 and 10. I meant Oracle JDK 10.
This release does not have the issue unless I add -Djdk.gtk.version=3 on
command line.

I also noticed that the issue goes away if I start NetBeans and other
applications on OpenJDK-11 (which is actually version 10 on Ubuntu) with
this flag: -Djdk.gtk.version=2

It seems that this issue occurs because of the padding used in GTK3
widgets. A quick fix would be to set GTK2 as default for now but what
happens when GTK2 will be phased out?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1770278

Title:
  Swing applications look strange with OpenJDK-11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1770278/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to