This will group the buttons:
WebButtonGroup group = new WebButtonGroup(WebButtonGroup.VERTICAL, true, button1, button2, button3);
This won't group them:
WebButtonGroup group = new WebButtonGroup(WebButtonGroup.VERTICAL, true);
group.add(button1);
group.add(button2);
group.add(button3);
This will group the buttons:
This won't group them: