void (final ListSelectionEvent e) { if (e.getValueIsAdjusting()) { return; } final List<T> entries = getSelectedEntries(); final Collection deps = getDependencies(entries); final DefaultListModel depsModel = (DefaultListModel)myDependenciesList.getModel(); depsModel.clear(); for (Object dep : alphaSortList(new ArrayList(deps))) { depsModel.addElement(dep); } }