<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I would like to add a default method to the MutableComboBoxModel interface:<br><br></div>default void removeAllElements(){ ...}<br><br></div>The reason to do this is that JComboBox has a removeAllItems() method which works very well when the model of the combo box is a DefaultComboBoxModel.<br><br></div>However, when you use a plain MutableComboBoxModel the elements are removed one by one and corresponding events are fired. Depending on the size of the model, this can have a huge performance impact.<br><br></div>The implementation of the default model would have the same behavior as what is currently done in JComboBox#removeAllItems (removing them one by one).<br><br></div>Before I start working on this, I wanted to check whether:<br><br></div>a) I can just log an issue in the issue tracker and start working on this, or whether API changes have some other kind of process I need to follow<br></div><br>b) anybody on this mailing list has an objection against this proposal<br><br><br></div>Thanks,<br><br></div>Robin<br></div>