code: public static <T, M> LabeledCheckboxPanel<T, M> newLabeledCheckboxPanel(final String id,
  		final IModel<M> model, final IModel<String> labelModel)
  	{
  		final LabeledCheckboxPanel<T, M> labeledCheckboxPanel = new LabeledCheckboxPanel<>(id,
  			model, labelModel);
  		labeledCheckboxPanel.setOutputMarkupId(true);
  		return labeledCheckboxPanel;
  
  	}
docs: Factory method for create a new {@link LabeledCheckboxPanel}.
  
  @param <T>
  the generic type of model object from the {@link CheckBox}
  @param <M>
  the generic type of model object
  @param id
  the id
  @param model
  the model
  @param labelModel
  the label model
  @return the new {@link LabeledCheckboxPanel}