@Override
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
JLabel label = (JLabel) super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
if (label == null) return null;
MenuItem item = (MenuItem) value;
if (item == null) return label;
label.setText(item.getLabel());
label.setFont(Theme.SMALL_BOLD_FONT);
return label;
}