@Override
	public void setValues(List<String> values) {
		if (values == null) {
			textField.setText("");
		}
		else {
			String value = values.stream().collect(Collectors.joining(", "));
			textField.setText(value);
		}

	}
Base class for BSimValueEditors that work on a list of possible choices
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/filters/MultiChoiceBSimValueEditor.java