-----Original Message----- From: JP Rosevear [mailto:jpr@novell.com] Sent: Sat 10/6/2007 9:18 PM To: Adam Sailer Cc: opensuse@opensuse.org Subject: Re: [opensuse] 10.3 Java Issues, More Info On Sat, 2007-10-06 at 13:56 -0700, Adam Sailer wrote:
Ok, it looks like significant changes implemented in Gnome 2.20 GTK+ have broken LookAndFeel support in Java.
I can run Netbeans, the JDK demo apps, and my apps (Swing GUIs) as long as I use the default Java laf. When I try to use the GTK+ laf, or a third-party laf from a jar, is when crashes happen. Limewire crashes since it uses a custom laf.
Oddly enough, the output of: System.out.println("UIManager.getSystemLookAndFeelClassName()); returns:
"com.sun.java.swing.plaf.gtk.GTKLookAndFeel" when run as a user,
"javax.swing.plaf.metal.MetalLookAndFeel" when run as root.
Adam, as per Benji are you using Sun's java from 10.3?
Upstream I see one possible issue:
http://bugzilla.gnome.org/show_bug.cgi?id=479929
This implies 'export GTK_MODULES=' may work around the issue, does that solve
it for you?
-JP
--
JP Rosevear