Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5077738

Changing system preferences after switching from GTK L&F causes L&F mixup

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  joutwatesunw Joshua Outwater (Inactive)
                  Reporter:
                  gramachasunw Girish Ramachandran (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: