Public bug reported:

Binary package hint: sun-java6-jdk

When using the UIManager.getSystemLookAndFeelClassName() method, it
returns javax.swing.plaf.metal.MetalLookAndFeel (the cross-platform
one), and not com.sun.java.swing.plaf.gtk.GTKLookAndFeel, as expected.
If the UIManager.setLookAndFeel() method is called with the latter, the
L&F will be set to GTK, so it is definitely there; the system just fails
to recognize it as the default L&F.

This error is reproducible with sun-java5-jdk as well, I have not tried
the -jre packages, or gcj. Both the <jdk root>/bin/java and
<jdk_root>/jre/bin/java works alike.

** Affects: sun-java6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Jaba bug: getSystemLookAndFeelClassName() returns Metal, not GTK
https://bugs.launchpad.net/bugs/133103
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to