@Override
		public Component getListCellRendererComponent(JList<? extends JCheckBox> list,
				JCheckBox value, int index, boolean isSelected, boolean cellHasFocus) {

			if (boldFont == null) {
				Font font = list.getFont();
				boldFont = font.deriveFont(font.getStyle() | Font.BOLD);
			}

			Color fg = isSelected ? list.getSelectionForeground() : list.getForeground();
			Color bg = isSelected ? list.getSelectionBackground() : list.getBackground();
			// set color to red if file cannot be saved 'as is'
			if (!saveable[index]) {
				fg = Colors.ERROR;
				checkboxes[index].setFont(boldFont);
			}
			checkboxes[index].setForeground(fg);
			checkboxes[index].setBackground(bg);
			return checkboxes[index];
		}
Cell renderer to show the checkboxes for the changed data files.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/SaveDataDialog.java