code: protected void addLabel(ResponseWriter rw, String clientId, SelectBooleanCheckbox selectBooleanCheckbox)
  			throws IOException {
  		if (selectBooleanCheckbox.isRenderLabel()) {
  			String label = selectBooleanCheckbox.getLabel();
  			if (label != null) {
  				rw.startElement("label", selectBooleanCheckbox);
                                  generateErrorAndRequiredClass(selectBooleanCheckbox, rw, clientId, selectBooleanCheckbox.getLabelStyleClass(), Responsive.getResponsiveLabelClass(selectBooleanCheckbox), "control-label");
  				writeAttribute(rw, "style", selectBooleanCheckbox.getLabelStyle());
  
  				if (null != selectBooleanCheckbox.getDir()) {
  					rw.writeAttribute("dir", selectBooleanCheckbox.getDir(), "dir");
  				}
  
  				rw.writeAttribute("for", "input_" + clientId, "for");
  				rw.writeText(label, null);
  				rw.endElement("label");
  			}
  		}
  	}
docs: Renders the optional label. This method is protected in order to allow
  third-party frameworks to derive from it.
  
  @param rw
  the response writer
  @param clientId
  the id used by the label to reference the input field
  @param selectBooleanCheckbox
  the component to render
  @throws IOException
  may be thrown by the response writer