Changing the system font or theme, changes the appearance of SwingSet2 demo in Motif and Java L&Fs. The Frame and the toolbar appear to be rendered in Motif / Java L&Fs but the tabs appear to be rendered in GTK L&F. Please see the attached image. This has been occuring from b49 onwards on Linux / Solaris.
Also when JOptionPane demo is selected and JOptionPanes are displayed, the following messages are printed in the console:
com.sun.java.swing.plaf.gtk.GTKLookAndFeel/icons/Question.gif not found.
Steps to reproduce:
1. Launch SwingSet2 demo
2. Switch to GTK L&F
3. Switch back to Motif or Java L&F
4. In GNOME settings, change the application font
5. Switch to some other demo in SwingSet2. It can be seen that the demo tab is rendered in GTK L&F.