public DebateGUI(User user, Debate debate) {
		super("Debate");
		this.userLogin = user;
		this.debateSelected = debate;
		String[][] team = debateSelected.getTeam();
		for (int i = 0; i < team.length; i++) {
			for (int j = 0; j < team[i].length; j++) {
				if (team[i][j].equals(userLogin.getName())) {
					if ( i == 0 ) {
						teamType = "A";
						counterTeamType = "B";
					} else {
						teamType = "B";
						counterTeamType = "A";
					}
					break;
				}
			}
		}
		this.fileName = "src/xml/Debate"+debateSelected.getId() + "/PrivateDialog" + teamType + ".xml";
		this.publicFileName = "src/xml/Debate"+debateSelected.getId() + "/PublicDialog.xml";
		initComponents();
	}