public void actionPerformed(ActionEvent e) {
				String name = teamName.getText();
				if(name.equals("") || name.trim().equals("") || name == null) {
					JOptionPane.showMessageDialog(AddTeam.this, "Team Name cannot be empty.");
				} else if(!StringUtil.isValidString(name)) {
					JOptionPane.showMessageDialog(AddTeam.this, "Team Name" + Constants.INVALID_CHAR_SEQ_MSG);
				} else {
					boolean add = true;
					for(int i = 0; i < pv.teams.size(); i++) {
						if(pv.teams.get(i).getTeamName().equals(name)) {
							add = false;
							break;
						}
					}
					if(add) {
						Team teamToAdd = new Team(name, currentColor);
						pv.teams.add(teamToAdd);
						mainFrame.addCouns.addTeam(teamToAdd);
						
						System.out.println("Successfully added " + teamToAdd.superToString() + ": " + teamToAdd.getTeamName());
						
						pv.sortLists();
						
						resetAndDispose();
					} else {
						JOptionPane.showMessageDialog(AddTeam.this, "There's already a team named " + name);
					}
				}
				teamName.setText("");
				teamName.requestFocusInWindow();
			}