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 Java
Packaging, which is a direct subscriber.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-java
Post to     : ubuntu-java@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-java
More help   : https://help.launchpad.net/ListHelp

Reply via email to