555556557558559560561562563564565
item.setSelected(!item.isSelected()); // Repaint cell list.repaint(list.getCellBounds(index, index)); } }); scrollPaneDictionary.setViewportView(listDictionary);