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

GTK: Font changes not reflected in JOptionPane

XMLWordPrintable

    • Fix Understood
    • generic
    • generic

      In GTK L&F, changing the GNOME Application Font does not change the font rendered in an JOptionPane although the parent frame's font changes. This happens when the OptionPane is displayed and the font is changed. If the displayed option pane is closed and reopened, the OptionPane is rendered in the new font. This occurs with Solaris / Linux with tiger b49 onwards.

      Steps to reproduce:
      1. Launch SwingSet2 demo
      2. Switch to GTK L&F
      3. Select JOptionPane demo and show one of the message dialogs.
      4. Change the font - it can be seen that the OptionPane font does not change.
      5. Close the message dialog and reopen it - now the font changes are getting reflected.

            peterz Peter Zhelezniakov
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: