PreferredSize is not recomputed for JComboBox when new font is set

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.4.0
    • Component/s: client-libs

      PreferredSize is not recomputed when a new font is set for JComboBox.
      This works fine for other components. This was working fine in 1.3.1
      The preferred size is recomputed only when data-model is changed - adding or removing of items.

      Compile and run JComboBoxTest.java
      Click on buttons "Set Font ++" and "Set Font --" to set different fonts. The JButton computes preferred size properly. But JComboBox computes preferred size only when an item is added or removed.

            Assignee:
            Shannon Hickey (Inactive)
            Reporter:
            Rakesh Menon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: