JList () { final JList list = new JBList(new MyListModel()); list.setCellRenderer(new MyListCellRenderer()); list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); list.setSelectedIndex(0); list.getSelectionModel().addListSelectionListener(new ListSelectionListener() { @Override public void valueChanged(ListSelectionEvent e) { updateOnChanged(list); } }); ListSpeedSearch.installOn(list); return list; }