Component (@NotNull JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { final Component component = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); if (value instanceof Executor) { setText(((Executor)value).getActionName()); setIcon(((Executor)value).getIcon()); } return component; }