joeclark Posted February 8, 2005 Report Share Posted February 8, 2005 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. Quote Link to comment Share on other sites More sharing options...
joeclark Posted February 8, 2005 Author Report Share Posted February 8, 2005 Update: Okay, Java sees the theme change after logging out and back in (or restarting X, etc). Question: What themes *does* Java support? Quote Link to comment Share on other sites More sharing options...
joeclark Posted February 8, 2005 Author Report Share Posted February 8, 2005 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.