code: private void addField(final WComponent input, final String labelText, final String labelHint) {
  		WLabel label = new WLabel(labelText, input);
  		if (labelHint != null) {
  			label.setHint(labelHint);
  		}
  
  		layout.addField(label, input);
  	}
docs: Adds a field to the example's layout.
  
  @param input the input field to add.
  @param labelText the label text for the field.
  @param labelHint the optional label hint for the field.