Conditionally adding items to a JComboBox is unnecessarily verbose. Today one need to iterate over the items to do this or cast the model to a DefaultComboBoxModel which isn't intuitional unless you read the API source code.
I suggest adding some or all of these convenience methods. They would make JComboBox easier to use.
</p> <p>boolean addUniqeItem(Object item); /* Returns if item was added or not */</p> <p>boolean setSelectItem(Object item, boolean addIfNotExist); /* Returns if item was added or not */</p> <p>boolean containsItem(Object item);<br />
There are probably more.
Just my $02 on the path to newbie friendlyness.