openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #11869
[Bug 1581835] [NEW] Native Look and Feel for Swing does not work
Public bug reported:
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
** Affects: openjdk-7 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 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
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
Follow ups
-
[Bug 1581835] Re: Enable native GTK Look and Feel for non-gnome desktops
From: Thorsten Glaser, 2024-01-22
-
[Bug 1581835] Re: Enable native GTK Look and Feel for non-gnome desktops
From: Thomas Ward, 2016-05-17
-
[Bug 1581835] Re: Enable native GTK Look and Feel for non-gnome desktops
From: Tiago Stürmer Daitx, 2016-05-16
-
[Bug 1581835] Re: Enable native GTK Look and Feel for non-gnome desktops
From: Tiago Stürmer Daitx, 2016-05-16
-
[Bug 1581835] Re: Native Look and Feel for Swing does not work
From: Yanpas, 2016-05-16
-
[Bug 1581835] Re: Native Look and Feel for Swing does not work
From: Tiago Stürmer Daitx, 2016-05-16
-
[Bug 1581835] Re: Native Look and Feel for Swing does not work
From: Yanpas, 2016-05-15
-
[Bug 1581835] Re: Native Look and Feel for Swing does not work
From: Tiago Stürmer Daitx, 2016-05-15
-
[Bug 1581835] Re: Native Look and Feel for Swing does not work
From: Yanpas, 2016-05-15
-
[Bug 1581835] Re: Native Look and Feel for Swing does not work
From: Tiago Stürmer Daitx, 2016-05-14
-
[Bug 1581835] Re: Native Look and Feel for Swing does not work
From: Tiago Stürmer Daitx, 2016-05-14