public void actionPerformed(ActionEvent e) {
			if (curPerson < 0) { // Make sure we have a person to add the phone to
				JOptionPane.showMessageDialog(null, "Find a person first!");
				return;
			} 
			
			// Do different actions depending on which button was pressed
			String buttonText = ((JButton)e.getSource()).getText();
			try {
				// If the Add button was pressed...
				if (buttonText.equals("Add")) {
					String newEmail = newEmailTF.getText(); // Get the New Email input
					// Don't allow blank or invalid email addresses
					if (newEmail.trim().equals("") || newEmail.equals("")) {
						JOptionPane.showMessageDialog(null, "New Email cannot be blank!");
						return;
					} else if (!newEmail.matches(".+@.+\\.[a-z]+")) {
						JOptionPane.showMessageDialog(null, "New Email must be in a valid format!");
						return;
					}
					addEmail(newEmail);
					
				} else {
					String curEmail = curEmailTF.getText(); // Get the Current Email input
					// Don't allow blank or invalid email addresses
					if (curEmail.trim().equals("") || curEmail.equals("")) {
						JOptionPane.showMessageDialog(null, "Current Email cannot be blank!");
						return;
					} else if (!curEmail.matches(".+@.+\\.[a-z]+")) {
						JOptionPane.showMessageDialog(null, "Current Email must be in a valid format!");
						return;
					}
					// If the Edit button was pressed...
					if (buttonText.equals("Edit")) { 
						editEmail();
	
					// If the Delete button was pressed...
					} else if (buttonText.equals("Delete")) {
						delEmail(true);
					}
				}
			} catch (SQLException e1) { // Handle Errors
				JOptionPane.showMessageDialog(null, "Database Error!");
			}
		}