Component (JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { Component result = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); ArrangementTabInfo tabInfo = (ArrangementTabInfo)value; setText(tabInfo.languageDisplayName); setIcon(ObjectUtils.notNull(tabInfo.icon, EmptyIcon.ICON_16)); setBorder(JBUI.Borders.empty(3)); return result; }