private Label getCheckBoxLabel(Boolean value) {

        String content;
        if (value.booleanValue()) {
            content = "<input type='checkbox' disabled='true' checked='true' />";
        } else {
            content = "<input type='checkbox' disabled='true' />";
        }

        return new Label(content, ContentMode.HTML);
    }
private Label getCheckBoxLabel ( Boolean value ) { String content ; if ( value . booleanValue ( ) ) { content = "<input type='checkbox' disabled='true' checked='true' />" ; } else { content = "<input type='checkbox' disabled='true' />" ; } return new Label ( content , ContentMode . HTML ) ; }
Generates a check box label.<p>

@param value the value to display

@return the label