protected void showFamilyAsSpouse() {
		Person person = personPanel.getPerson();

		List<Family> families = person.getFamiliesAsSpouse();
		
		Family family = null;
		
		if (families.size() > 1) {
			FamilyAsSpouseProxy[] proxies = new FamilyAsSpouseProxy[families.size()];
			
			for (int i = 0; i < families.size(); i++)
				proxies[i] = new FamilyAsSpouseProxy(families.get(i), person);
		
			FamilyAsSpouseProxy proxy = (FamilyAsSpouseProxy)JOptionPane.showInputDialog(
                    this,
                    "Please choose the spouse",
                    "Multiple Marriages!",
                    JOptionPane.PLAIN_MESSAGE,
                    null,
                    proxies,
                    proxies[0]);
			
			if (proxy != null)
				family = proxy.getFamily();
		} else
			family = families.get(0);
	
		if (family != null) {
			familyPage.setFamily(family);
			parent.setSelectedIndex(1);
		}
	}