JList () { final JList list = new JBList(new DefaultListModel()); list.getSelectionModel().setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); list.setCellRenderer(new MyListCellRenderer()); return list; }