-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
beta
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2119504 | 5.0u3 | Peter Zhelezniakov | P2 | Resolved | Fixed | b05 |
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.
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.
- backported by
-
JDK-2119504 Changing system preferences after switching from GTK L&F causes L&F mixup
-
- Resolved
-