void (JList<?> list, Object value, boolean isSelected) { super.customizeComponent(list, value, isSelected); myIconLabel.setIcon(isSelected ? IconUtil.wrapToSelectionAwareIcon(myDescriptor.getSelectedIconFor(value)) : myDescriptor.getIconFor(value)); }