How do I detect that a JComboBox is empty? Is it something like:
combobox.isEmpty()
What's wrong with JComboBox.getItemCount()? If this method returns 0, the component is empty.
JComboBox.getItemCount()
0