I have a JCombobox with no items. I want to fix its size to a min size. I tried all ways by setting minimum, maximum, preffered size but its not working. For more information I am using GridBagLayout, fill is NONE and weightx is 0. My Combobox gets populated at runtime, and I dont want size to be increased. Means items should get populated but default size should not change.