public void actionPerformed(ActionEvent e) {
				String name = txtName.getText();
				String cabinName = txtCabinName.getText();
				Team team = (Team) teamChooser.getSelectedItem();
				Counselor partner = (Counselor) partnerChooser.getSelectedItem();
				
				if(name.equals("") || name.trim().equals("") || name == null) {
					JOptionPane.showMessageDialog(AddCounselor.this, "Name cannot be empty.");
				} else if(!StringUtil.isValidString(name)) {
					JOptionPane.showMessageDialog(AddCounselor.this, "Name" + Constants.INVALID_CHAR_SEQ_MSG);
				} else if(!StringUtil.isValidString(cabinName)) {
					JOptionPane.showMessageDialog(AddCounselor.this, "Cabin Name" + Constants.INVALID_CHAR_SEQ_MSG);
				} else {
					Counselor newCounselor = new Counselor(name, cabinName, team, partner);
					
					if(partner != null) {
						if(partner.getTeam() == null && team != null) {
							partner.setTeam(team);
						} else if(team == null && partner.getTeam() != null) {
							newCounselor.setTeam(partner.getTeam());
						}
						
						partner.setPartner(newCounselor);
					}
					
					pv.counselors.add(newCounselor);
					
					pv.sortLists();
					
					System.out.println("Successfully added " + newCounselor.superToString() + ": " + newCounselor.getName());
					
					resetAndDispose();
				}
			}