code: private static void addBoxes(final WPanel panel, final int amount) {
  		for (int i = 1; i <= amount; i++) {
  			WPanel box = new WPanel(WPanel.Type.BOX);
  			box.add(new WText(Integer.toString(i)));
  			panel.add(box);
  		}
  	}
docs: Adds a set of boxes to the given panel.
  
  @param panel the panel to add the boxes to.
  @param amount the number of boxes to add.