@Override
    public Component getListCellRendererComponent(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
      var result = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
      if (result instanceof JLabel && value != null) {
        ((JLabel)result).setText(getOptionName((ValidationResult.Option)value));
      }
      return result;
    }
@Override
    public Component getListCellRendererComponent(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus)