-----Original Message-----
From: JP Rosevear [mailto:[EMAIL PROTECTED]
Sent: Sat 10/6/2007 9:18 PM
To: Adam Sailer
Cc: [email protected]
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 <[EMAIL PROTECTED]>
Novell, Inc.
--
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]
I added this line to my .bashrc file, and it works if I launch from the
gnome-terminal. However, if I launch an app by clicking on the executable jar
file, no-go.
Also, I created a copy of the netbeans launcher and added the laf switch;
Command: "/opt/netbeans-5-5.1/bin/netbeans" --laf
com.sun.java.swing.plaf.gtk.GTKLookAndFeel
This worked in 10.2, not in 10.3
How do I make this 'export GTK_MODULES=' and the sloppy lock one, global and
for all users?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]