Monthly Archives: December 2014

How to resize the width of a JComboBox dropdown list without resizing its edit box ?

You need a JComboBox whose width doesn’t depend on the widest of its items, but you still want the dropdown list to be wider than the JComboBox, wide enough to display properly the widest item. For example :

wider combo box

Continue reading