public static void onChange(final JCheckBox checkBox,
			final P1<Boolean> onChange) {
		if (onChange != null) {
			checkBox.addChangeListener(new ChangeListener() {
				public void stateChanged(ChangeEvent e) {
					onChange.e(checkBox.isSelected());
				}
			});
		}
	}