@Override
  public Component getListCellRendererComponent(JList list, Object value,
                                                int index, boolean isSelected, boolean cellHasFocus) {
    super.getListCellRendererComponent(list, value, index, isSelected,
        cellHasFocus);

    Date date = (Date) value;
    setText(dateFormat.format(date));

    return this;
  }
@Override
  public Component getListCellRendererComponent(JList list, Object value,
                                                int index, boolean isSelected, boolean cellHasFocus)