[Bug 1581835] Re: Native Look and Feel for Swing does not work
Tiago Stürmer Daitx
1581835 at bugs.launchpad.net
Sat May 14 23:13:43 UTC 2016
Thank you for taking the time to report this bug and helping to make
The GTK L&F has a few known issues and is not enabled by default. Please
see bug #183139.
You might try adding those properties to either
/etc/java-8-openjdk/swing.properties, one per line without the "-D", as
Be aware that the application you are trying to run might override those
settings on its own, if so that would require you to edit the
application configuration files.
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openjdk-8 in Ubuntu.
Native Look and Feel for Swing does not work
Status in openjdk-7 package in Ubuntu:
Status in openjdk-8 package in Ubuntu:
Openjdk-7 and openjdk-8 do not enable native look and feel by default. But they support it. Apps use ugly blue theme, even if the code contains "UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());"
I've tried Xubuntu 14.04, Ubuntu Mate 16.04 - apps look ugly. (for example logisim)
To get native LAF you need to use these arguments: _JAVA_OPTIONS
-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
To manage notifications about this bug go to:
More information about the foundations-bugs