Public bug reported: I have noticed that NetBeans looks strange with OpenJDK 11. It seems to use GTK3 widgets are used which have a different padding than GTK2 widgets.
The screenshots show NetBeans 8.2 running on JDK9 and NetBeans 9-Dev running on OpenJDK 11 but it doesn't matter which application or version is used. Switching to JDK8 or JDK9 or using the Metal look and feel or Nimbus look and feel also fixes the issue. Also starting NetBeans with Oracle JDK 11 does not have any drawing issue. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: openjdk-11-jdk 10.0.1+10-3ubuntu1 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: GNOME Date: Thu May 10 00:09:07 2018 InstallationDate: Installed on 2016-10-25 (561 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: openjdk-lts UpgradeStatus: Upgraded to bionic on 2018-04-24 (15 days ago) ** Affects: openjdk-lts (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic wayland-session ** Attachment added: "NetBeans looks good on JDK9" https://bugs.launchpad.net/bugs/1770278/+attachment/5136938/+files/JDK9.png -- You received this bug notification because you are a member of OpenJDK, which is subscribed to openjdk-lts in Ubuntu. https://bugs.launchpad.net/bugs/1770278 Title: Swing applications look strange with OpenJDK-11 Status in openjdk-lts package in Ubuntu: New Bug description: I have noticed that NetBeans looks strange with OpenJDK 11. It seems to use GTK3 widgets are used which have a different padding than GTK2 widgets. The screenshots show NetBeans 8.2 running on JDK9 and NetBeans 9-Dev running on OpenJDK 11 but it doesn't matter which application or version is used. Switching to JDK8 or JDK9 or using the Metal look and feel or Nimbus look and feel also fixes the issue. Also starting NetBeans with Oracle JDK 11 does not have any drawing issue. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: openjdk-11-jdk 10.0.1+10-3ubuntu1 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: GNOME Date: Thu May 10 00:09:07 2018 InstallationDate: Installed on 2016-10-25 (561 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: openjdk-lts UpgradeStatus: Upgraded to bionic on 2018-04-24 (15 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1770278/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openjdk Post to : openjdk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openjdk More help : https://help.launchpad.net/ListHelp