code: private void addNewContact() {
  		String name = newNameField.getText();
  		if (name != null && !"".equals(name)) {
  			List list = new ArrayList(repeater.getBeanList());
  			list.add(new ContactDetails(name, null, new String[0]));
  			repeater.setBeanList(list);
  		}
  		newNameField.setText("");
  	}
docs: Adds a new contact to the list of contacts. The contact's name is obtained from {@link newNameField}.