Hi all! I want to clear all the items of the list because depending on the option the user chooses I'm showing one kind of information or another. I'm trying list.removeAll(). It doesn't work. With the DefaultListModel associated to the JList I'm trying: listModel.clear(); listModel.removeAllElements(); Even I'm trying to delete each element manually with listModel.removeElementAt(index); These 3 statements crash if one element of the list is selected. I want to know if there's a way of clearing the list or deselecting the selected item...