The code samples do not demonstrate the latest CheckboxRender. For version

The code samples do not demonstrate the latest CheckboxRender. For version 2.5.0 we use the following:

CheckboxRenderer renderer = new CheckboxRenderer(setter);

How do I implement the setter properly?

True, the reason was that code sample was for Vaadin7 version, I added another sample for Vaadin8 version.

Thank you Tatu!