voidremoveAllItems()
//Removes all items from the item list.
voidremoveItem(Object anObject)
//Removes an item from the item list.
voidremoveItemAt(int anIndex)
//Removes the item at anIndex This method works only if the JComboBox uses the default data model
//Removes all items from the item list.
voidremoveItem(Object anObject)
//Removes an item from the item list.
voidremoveItemAt(int anIndex)
//Removes the item at anIndex This method works only if the JComboBox uses the default data model
帮你解释一下!
void removeAllItems(){}
//从列表里清除所有,全部项;void removeItem(Object anObject){}
//从列表里清除一项,默认是当前最后一项;void removeItemAt(int anIndex) {}
//从列表里清除当前索引指定一项;