You can do it by setting the minimum size, but correct value is font dependent. You can guess at the value, or you can set it from the addNotify with some help from FontMetrics.
I've generally found it's easier to do it by making the first item something like: "--Select Config--", or, if you know there are no items to choose from: "--No Configs Available--"
Update:
Since you can't use a placeholder, your alternatives depend on the layout manager and the LAF in use.
Mostly this amounts to setting the minimum and/or preferred size of the JComponent. It's inexact, but I generally use GridBagLayout and have good results with this approach:
@Override
public void addNotify() {
super.addNotify();
combo.setMinimumSize(atLeast(combo.getMinimumSize(), 100, 20));
combo.setPreferredSize(atLeast(combo.getPreferredSize(), 100, 20));
}
private Dimension atLeast(Dimension d, int minWidth, int minHeight) {
d.width = Math.max(minWidth, d.width);
d.height = Math.max(minHeight, d.height);
return d;
}
Replace the 100,20 with minimum value that work for you.