} catch (InvalidValueException e) {
checkbox.setComponentError(AbstractErrorMessage
.getErrorMessageForException(e));
}
try {
requiredCheckbox.validate();
} catch (InvalidValueException e) {
requiredCheckbox.setComponentError(AbstractErrorMessage
.getErrorMessageForException(e));
}
valueLabel.setValue("Checkbox: " + checkbox.getValue()