void (@NotNull JList list, @Nls String value, int index, boolean selected, boolean hasFocus) { if (index == 0) { append(value, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES); } else if (value.length() == 0) { append(VcsBundle.message("committed.changes.filter.none"), SimpleTextAttributes.GRAYED_ATTRIBUTES); } else { append(value, SimpleTextAttributes.REGULAR_ATTRIBUTES); } }