Component (JList<? extends TemplatesGroup> list, TemplatesGroup value, int index, boolean isSelected, boolean cellHasFocus) { Component component = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); myNextStepLabel.setIcon(value.isPromo() ? AllIcons.Ultimate.Lock : null); return component; }