label.setIcon(object.getIcon(0));
label.setText(object.getName());
if (!cellHasFocus && isSelected) {
label.setForeground(list.getForeground());
label.setBackground(list.hasFocus() ? list.getBackground() : UIUtil.getFocusedFillColor());
label.setBorder(new DottedBorder(Color.BLACK));
}
return label;
}