Component (JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { final JLabel label = (JLabel)super.getListCellRendererComponent(list, myToString.fun(value), index, isSelected, cellHasFocus); myChecked = (value == myValue); if (myChecked) { label.setIcon(getIcon(isSelected)); } else { label.setIcon(getEmptyIcon()); } GraphicsUtil.setAntialiasingType(label, AntialiasingType.getAAHintForSwingComponent()); return label; }