final boolean cellHasFocus)
{
final JLabel label = (JLabel) super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
if (value instanceof BorderStyle)
{
final BorderStyle style = (BorderStyle) value;
final StrokeIcon strokeIcon = new StrokeIcon(style.createStroke(2));
label.setIcon(strokeIcon);
}
else
{
label.setIcon(null);