[Bug 1581835] Re: Native Look and Feel for Swing does not work
Yanpas
yanp.bugz at gmail.com
Sun May 15 10:26:50 UTC 2016
unfortunately this configuration file doesn't work. I am still to use _JAVA_OPTIONS which is annoying, cause every time I start anything written in Java I face a message "Picked up _JAVA_OPTIONS ...".
Fix at least this conf file!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1581835
Title:
Native Look and Feel for Swing does not work
Status in openjdk-7 package in Ubuntu:
New
Status in openjdk-8 package in Ubuntu:
New
Bug description:
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:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1581835/+subscriptions
More information about the foundations-bugs
mailing list