@Nonnull
	@Override
	public Node create(@Nonnull ConfigContainer container, @Nonnull ConfigValue<Boolean> value) {
		Observable<Boolean> observable = value.getObservable();
		String translationKey = container.getScopedId(value);

		// Create the component.
		CheckBox check = new CheckBox();
		check.setSelected(observable.getValue());
		check.textProperty().bind(Lang.getBinding(translationKey));
		observable.addChangeListener((ob, old, cur) -> {
			if (check.isSelected() != cur)
				check.setSelected(cur);
		});
		check.selectedProperty().addListener((ob, old, cur) -> {
			if (observable.getValue() != cur)
				observable.setValue(cur);
		});
		return check;
	}
Factory for general {@code boolean} values.

@author Matt Coley
recaf-ui/src/main/java/software/coley/recaf/services/config/factories/BooleanComponentFactory.java