void (@NotNull JList list, Object value, int index, boolean selected, boolean hasFocus) { super.customizeCellRenderer(list, value, index, selected, hasFocus); if (selected) { if (hackedSelection.get() != value) { hackedSelection.set(value); myDetailController.updateDetailView(); } } }