JBList<Sdk> (@NotNull ListSelectionListener selectionListener) { final JBList<Sdk> result = new JBList<>(); result.setCellRenderer(new PySdkListCellRenderer()); result.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); result.addListSelectionListener(selectionListener); ListSpeedSearch.installOn(result); return result; }