protected void initNewDebateComponents() {
		createDebateJfme = new JFrame();
		createDebateJpel = new JPanel();
		createDebateJfme.add(createDebateJpel);
		titleCDJlbl = new JLabel("Title:");
		titleCDJlbl.setFont(new Font("Tahoma", 1, 16));
		maxTurnsCDJlbl = new JLabel("Max Turns");
		maxTurnsCDJlbl.setFont(new Font("Tahoma", 1, 16));
		maxTimeCDJlbl = new JLabel("Max Times");
		maxTimeCDJlbl.setFont(new Font("Tahoma", 1, 16));
		descriptionCDJlbl = new JLabel("Description");
		descriptionCDJlbl.setFont(new Font("Tahoma", 1, 16));
		studentsCDJlbl = new JLabel("Students");
		studentsCDJlbl.setFont(new Font("Tahoma", 1, 16));
		teamACDJlbl = new JLabel("Team A");
		teamACDJlbl.setFont(new Font("Tahoma", 1, 16));
		teamBCDJlbl = new JLabel("Team B");
		teamBCDJlbl.setFont(new Font("Tahoma", 1, 16));
		litratureCDJlbl = new JLabel("Litrature");
		litratureCDJlbl.setFont(new Font("Tahoma", 1, 16));
		titleCDJtxt = new JTextField();
		maxTurnsDCM = new DefaultComboBoxModel();
		for (int i = 0; i < maxTurnsValue.length; i++) {
			maxTurnsDCM.addElement(maxTurnsValue[i]);
		}
		maxTurnsJcbx = new JComboBox(maxTurnsDCM);
		maxTimeDCM = new DefaultComboBoxModel();
		for (int i = 0; i < maxTimeValue.length; i++) {
			maxTimeDCM.addElement(maxTimeValue[i]);
		}
		maxTimeJcbx = new JComboBox(maxTimeDCM);
		
		descriptionCDJtxa = new JTextArea();
		descriptionCDJtxa.setBorder((BorderFactory.createLineBorder(Color.GRAY, 1)));
		studentsCDDLM = new DefaultListModel();
		studentsCDJlst = new JList(studentsCDDLM);
		studentsCDJscl = new JScrollPane(studentsCDJlst);
		// Get player list
		getPlayerList();
		teamACDDLM = new DefaultListModel();
		teamACDJlst = new JList(teamACDDLM);
		teamACDJscl = new JScrollPane(teamACDJlst);
		teamBCDDLM = new DefaultListModel();
		teamBCDJlst = new JList(teamBCDDLM);
		teamBCDJscl = new JScrollPane(teamBCDJlst);
		litratureCDDLM = new DefaultListModel();
		litratureCDJlst = new JList(litratureCDDLM);
		litratureCDJscl = new JScrollPane(litratureCDJlst);
		assignToACDJbtn = new JButton("Assign to A");
		assignToACDJbtn.setBackground(new Color(221, 221, 221));
		assignToACDJbtn.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				// Assign to team A
				assignToTeamAOrB("A");
			}
			
		});
		assignToBCDJbtn = new JButton("Assign to B");
		assignToBCDJbtn.setBackground(new Color(221, 221, 221));
		assignToBCDJbtn.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				// Assign to team B
				assignToTeamAOrB("B");
			}
			
		});
		removeFromACDJbtn = new JButton("Remove from A");
		removeFromACDJbtn.setBackground(new Color(221, 221, 221));
		removeFromACDJbtn.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				// Assign to team A
				removeFromTeamAOrB("A");
			}
			
		});
		removeFromBCDJbtn = new JButton("Remove from B");
		removeFromBCDJbtn.setBackground(new Color(221, 221, 221));
		removeFromBCDJbtn.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				// Assign to team B
				removeFromTeamAOrB("B");
			}
			
		});
		setALeaderCDJbtn = new JButton("Set as Team A's Leader");
		setALeaderCDJbtn.setBackground(new Color(221, 221, 221));
		setALeaderCDJbtn.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				setTeamLeader("A");
				
			}
			
		});
		setBLeaderCDJbtn = new JButton("Set as Team B's Leader");
		setBLeaderCDJbtn.setBackground(new Color(221, 221, 221));
		setBLeaderCDJbtn.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				setTeamLeader("B");
				
			}
			
		});
		uploadCDJbtn = new JButton("Upload");
		uploadCDJbtn.setBackground(new Color(221, 221, 221));
		uploadCDJbtn.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				FileControl fileControl = new FileControl();
				if (fileControl.uploadFile("src/xml/")) {
					litratureCDDLM.addElement(fileControl.getUploadFileName());
				}
				
			}
			
		});
		createCDJbtn = new JButton("Create");
		createCDJbtn.setBackground(new Color(221, 221, 221));
		createCDJbtn.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				createNewDebates();
				
			}
			
		});
		
		
		GroupLayout createDebateLayout = new GroupLayout(createDebateJpel);
		createDebateJpel.setLayout(createDebateLayout);
		createDebateLayout.setHorizontalGroup(createDebateLayout.createSequentialGroup()
				.addGap(10).addGroup(createDebateLayout.createParallelGroup()
						.addGroup(createDebateLayout.createSequentialGroup()
								.addComponent(titleCDJlbl)
								.addGap(500).addComponent(maxTurnsCDJlbl)
								.addGap(10).addComponent(maxTurnsJcbx, GroupLayout.PREFERRED_SIZE, 70, GroupLayout.PREFERRED_SIZE))
						.addGroup(createDebateLayout.createSequentialGroup()
								.addComponent(titleCDJtxt, GroupLayout.PREFERRED_SIZE, 250, GroupLayout.PREFERRED_SIZE)
								.addGap(290).addComponent(maxTimeCDJlbl)
								.addGap(10).addComponent(maxTimeJcbx, GroupLayout.PREFERRED_SIZE, 70, GroupLayout.PREFERRED_SIZE))
						.addComponent(descriptionCDJlbl)
						.addComponent(descriptionCDJtxa, GroupLayout.PREFERRED_SIZE, 700, GroupLayout.PREFERRED_SIZE)
						.addGroup(createDebateLayout.createSequentialGroup()
								.addGroup(createDebateLayout.createParallelGroup()
										.addComponent(studentsCDJlbl)
										.addComponent(studentsCDJscl, GroupLayout.PREFERRED_SIZE, 120, GroupLayout.PREFERRED_SIZE))
								.addGap(10).addGroup(createDebateLayout.createParallelGroup()
										.addComponent(assignToACDJbtn, GroupLayout.PREFERRED_SIZE, 130, GroupLayout.PREFERRED_SIZE)
										.addComponent(removeFromACDJbtn, GroupLayout.PREFERRED_SIZE, 130, GroupLayout.PREFERRED_SIZE)
										.addComponent(assignToBCDJbtn, GroupLayout.PREFERRED_SIZE, 130, GroupLayout.PREFERRED_SIZE)
										.addComponent(removeFromBCDJbtn, GroupLayout.PREFERRED_SIZE, 130, GroupLayout.PREFERRED_SIZE))
								.addGap(10).addGroup(createDebateLayout.createParallelGroup()
										.addComponent(teamACDJlbl)
										.addComponent(teamACDJscl, GroupLayout.PREFERRED_SIZE, 120, GroupLayout.PREFERRED_SIZE).addGap(10)
										.addComponent(teamBCDJlbl)
										.addComponent(teamBCDJscl, GroupLayout.PREFERRED_SIZE, 120, GroupLayout.PREFERRED_SIZE))
								.addGap(10).addGroup(createDebateLayout.createParallelGroup()
										.addComponent(setALeaderCDJbtn)
										.addComponent(setBLeaderCDJbtn))
								.addGap(20).addGroup(createDebateLayout.createParallelGroup()
										.addComponent(litratureCDJlbl)
										.addComponent(litratureCDJscl, GroupLayout.PREFERRED_SIZE, 110, GroupLayout.PREFERRED_SIZE)
										.addComponent(uploadCDJbtn)
										.addGap(20).addComponent(createCDJbtn)))));
		createDebateLayout.setVerticalGroup(createDebateLayout.createSequentialGroup()
				.addGap(10).addGroup(createDebateLayout.createParallelGroup()
						.addComponent(titleCDJlbl)
						.addComponent(maxTurnsCDJlbl)
						.addComponent(maxTurnsJcbx, GroupLayout.PREFERRED_SIZE, 30, GroupLayout.PREFERRED_SIZE))
				.addGap(5).addGroup(createDebateLayout.createParallelGroup()
						.addComponent(titleCDJtxt, GroupLayout.PREFERRED_SIZE, 30, GroupLayout.PREFERRED_SIZE)
						.addComponent(maxTimeCDJlbl)
						.addComponent(maxTimeJcbx, GroupLayout.PREFERRED_SIZE, 30, GroupLayout.PREFERRED_SIZE))
				.addGap(10).addComponent(descriptionCDJlbl)
				.addGap(5).addComponent(descriptionCDJtxa, GroupLayout.PREFERRED_SIZE, 130, GroupLayout.PREFERRED_SIZE)
				.addGap(20).addGroup(createDebateLayout.createParallelGroup()
						.addGroup(createDebateLayout.createSequentialGroup()
								.addComponent(studentsCDJlbl)
								.addGap(5).addComponent(studentsCDJscl, GroupLayout.PREFERRED_SIZE, 220, GroupLayout.PREFERRED_SIZE))
						.addGroup(createDebateLayout.createSequentialGroup()
								.addGap(50).addComponent(assignToACDJbtn)
								.addGap(5).addComponent(removeFromACDJbtn).addGap(55)
								.addComponent(assignToBCDJbtn)
								.addGap(5).addComponent(removeFromBCDJbtn))
						.addGroup(createDebateLayout.createSequentialGroup()
								.addComponent(teamACDJlbl)
								.addGap(5).addComponent(teamACDJscl, GroupLayout.PREFERRED_SIZE, 90, GroupLayout.PREFERRED_SIZE).addGap(20)
								.addComponent(teamBCDJlbl)
								.addGap(5).addComponent(teamBCDJscl, GroupLayout.PREFERRED_SIZE, 90, GroupLayout.PREFERRED_SIZE))
						.addGroup(createDebateLayout.createSequentialGroup()
								.addGap(90).addComponent(setALeaderCDJbtn)
								.addGap(90).addComponent(setBLeaderCDJbtn))
						.addGroup(createDebateLayout.createSequentialGroup()
								.addComponent(litratureCDJlbl)
								.addGap(5).addComponent(litratureCDJscl, GroupLayout.PREFERRED_SIZE, 110, GroupLayout.PREFERRED_SIZE)
								.addGap(10).addComponent(uploadCDJbtn)
								.addGap(20).addComponent(createCDJbtn))));
		createDebateJfme.setSize(750, 560);
		createDebateJfme.setLocation(300, 100);
		createDebateJfme.setTitle("Create Debates");
		createDebateJfme.setVisible(true);
	}