Re: Please help, the combo content is not rendering into the font family type!

DefaultComboBoxModel<Font> is indeed Java 7.

Why are you subclassing BasicComboBoxRenderer? The way to modify the way the JComboBox renders the list is to use a ListCellRenderer. BasicComboBoxRenderer is PLAF specific and should be avoided. Unless you write your own Look and Feel, I doubt you should be subclassing any java.swing.plaf.*

02-12-2014, 07:24 PM

willemjav

Re: Please help, the combo content is not rendering into the font family type!

So i extend DefaultListCellRenderer, instead?

02-12-2014, 07:34 PM

SurfMan

Re: Please help, the combo content is not rendering into the font family type!