@Override
	public void actionPerformed(ActionEvent e) {

		if (e.getActionCommand().equals(FILE_EXIT)) {
			System.exit(0);
		} else if(e.getActionCommand().equals(VIEW_PLAYERS)){
			AllPlayersGui playerGui = new AllPlayersGui("Players", "Players", desktop);
			playerGui.setVisible(true);
			desktop.add(playerGui);
		} else if( e.getActionCommand().equals(ADD_PLAYER)){
			try {
				AddPlayerGui addPlayerGui = new AddPlayerGui("Add New Player", "New Player", "Add");
				addPlayerGui.setVisible(true);
				desktop.add(addPlayerGui);
			} catch (Exception e1) {
				e1.printStackTrace();
			}
		} else if(e.getActionCommand().equals(VIEW_TEAMS)){
			AllTeamsGui allTeamsGui = new AllTeamsGui("Teams", "All Teams", desktop);
			allTeamsGui.setVisible(true);
			desktop.add(allTeamsGui);
		} else if(e.getActionCommand().equals(VIEW_PEOPLE)){
			AllPeopleGui allPeopleGui = new AllPeopleGui("People", "People", desktop);
			allPeopleGui.setVisible(true);
			desktop.add(allPeopleGui);
		} else if(e.getActionCommand().equals(ADD_PERSON)){
			
		} else if(e.getActionCommand().equals(ADD_PERSON_PLAYER)){
			try{
				AddPersonPlayerGui app = new AddPersonPlayerGui("Add Parent and Player", 
						"Player and Parent", desktop);
				app.setVisible(true);
				desktop.add(app);
			} catch (Exception e1) {
				e1.printStackTrace();
			}
		}
	}