int index, boolean isSelected, boolean cellHasFocus) {
JLabel label = (JLabel) super.getListCellRendererComponent(list, value,
index, isSelected, cellHasFocus);
String str = value.toString();
Font font = new Font(str, Font.PLAIN, 14);
if(font.canDisplayUpTo(str) == -1)
label.setFont(font);
else
label.setFont(new Font(label.getFont().getFontName(), Font.PLAIN, 14));
return label;
}