[Bug 133103] Re: Java bug: getSystemLookAndFeelClassName() returns Metal, not GTK

Thomas Hotz 133103 at bugs.launchpad.net
Mon Apr 29 08:42:25 UTC 2013


Ok, i mark this bug as confirmed. Maybe you could file this bug upstream
in Java?

** Changed in: openjdk-6 (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/133103

Title:
  Java bug: getSystemLookAndFeelClassName() returns Metal, not GTK

Status in “openjdk-6” package in Ubuntu:
  Confirmed
Status in “sun-java6” package in Ubuntu:
  Fix Released

Bug description:
  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.

  I am using Kubuntu 7.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/133103/+subscriptions




More information about the foundations-bugs mailing list