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 Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to