Jump to content

Mandrake 10 + JDK1.5 + gtk Galaxy


joeclark
 Share

Recommended Posts

When I start a Java GUI application with JDK1.5 under Gnome on Mandrake 10, I get the following theme error from the JVM:

 

/usr/share/themes/Galaxy/gtk-2.0/gtkrc:43: Engine "galaxy" is unsupported, ignoring.

 

The resulting GUI is then drawn in some basic (fairly ugly) fashion. Can someone explain to me simply how to change the theme (the theme manager in Gnome didn't help) so that Java does not complain about it? I don't really want to upgrade gtk2 or downgrade Java -- there should be a simple way to fix this I would think, but I'm not sure what it is.

 

Thanks.

Link to comment
Share on other sites

One more report:

 

Well, I found a workaround. My code was setting the LookAndFeel to the SystemLookAndFeel. By *not* trying to set it, it just uses the Swing default, which looks good enough to me and is plenty better than the "ugly" style it was using previously. So..that solution works for me, although there's still a question about why the themes don't work correctly in Gnome/GTK.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...