public static JCheckBox checkbox(boolean checked, final P1<Boolean> onChange) {
        final JCheckBox checkBox = new JCheckBox();
        checkBox.setSelected(checked);
        onChange(checkBox, onChange);
		return checkBox;
    }