code: public void applySettings() {
  		messageList.clear();
  
  		messageList.add("");
  
  		for (int i = 1; messageBox.getMessages().size() >= i; i++) {
  			messageList.add(String.valueOf(i));
  		}
  
  		selRemove.setOptions(messageList);
  		selRemove.resetData();
  		btnRemove.setDisabled(messageList.isEmpty());
  		btnRemoveAll.setDisabled(messageList.isEmpty());
  		messageBox.setType(
  				(com.github.bordertech.wcomponents.WMessageBox.Type) messageBoxTypeSelect.
  				getSelected());
  		messageBox.setVisible(cbVisible.isSelected());
  
  		if (tfTitle.getText() != null && !"".equals(tfTitle.getText())) {
  			messageBox.setTitleText(tfTitle.getText());
  		} else {
  			messageBox.setTitleText(null);
  		}
  	}
docs: applySettings is used to apply the setting to the various controls on the page.