Component (JList<? extends RecentChange> list, @NotNull RecentChange value, int index, boolean isSelected, boolean cellHasFocus) { myActionLabel.setText(value.getChangeName()); myDateLabel.setText(DateFormatUtil.formatDateTime(value.getTimestamp())); updateColors(isSelected); return myPanel; }