openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #01021
[Bug 183139] Re: [wishlist] make gtk laf default for icedtea-java
Hi,
Unfortunately the GTK+ LAF is NOT fully compatible with default Metal LAF,
and in some cases may cause major application problems (including crashes and data lost).
Even the new Nimbus LAF (included in Java 6 Update 10) is not set as default to preserve backward compatibility.
However, there are two good solutions:
* User/Package Maintainer can modify particular application shortcut to add
"-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" parameter.
Example command:
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar application.jar
* Java Developers can set Look And Feel to:
UIManager.getSystemLookAndFeelClassName()
The getSystemLookAndFeelClassName() method
automatically returns
"com.sun.java.swing.plaf.gtk.GTKLookAndFeel" (GTK+ LAF) on Linux/GNOME platform.
--
[wishlist] make gtk laf default for icedtea-java
https://bugs.launchpad.net/bugs/183139
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in “openjdk-6” source package in Ubuntu: Triaged
Bug description:
Please change default config to use gtk-laf instead of metal-laf. Thanks! :)