protected void acceptPosition() {
		acceptPositionJbtn.setEnabled(false);
		handoverTurnJbtn.setEnabled(false);
		withdrawJbtn.setEnabled(false);
		submitJbtn.setEnabled(false); 
		debateSelected.setWinner(teamType);
		debate.editDebate(debateSelected);
		turnLeftJlbl.setText("Turns left: " + debateSelected.getTurnDuration());
		DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm"); 
		String currentTime = df.format(new Date());
		try {
			Date d1 = df.parse(debateSelected.getTimeLeft());
			Date d2 = df.parse(currentTime); 
			String maxTime = debateSelected.getMaxTime();
			String[] maxTimeVaue = maxTime.split(":");
			long l=Integer.parseInt(maxTimeVaue[0])*60*60*1000 - (d2.getTime()-d1.getTime());
			long hour = l/(60*60*1000);
			String timeLeft = "";
			if (hour < 10) {
				timeLeft += "0" + hour;
			} else {
				timeLeft += hour;
			}
			long minuts = (l/(60*1000))-hour*60; 
			if (minuts < 10) {
				timeLeft += ":0" + minuts;
			} else {
				timeLeft += ":" + minuts;
			}
			timeLeftJlbl.setText("Time left: " + timeLeft);
		} catch (ParseException e) {
			e.printStackTrace();
		} 
		debateSelected.setWinner(teamType);
		debateSelected.setStatus("Completed");
		debateSelected.setCurrentTurnTeam(TEAMDEFAULT);
		if (debate.editDebate(debateSelected)) {
			JOptionPane.showMessageDialog(this, "You have accepted the position", "Success", JOptionPane.OK_OPTION);
		} else {
			JOptionPane.showMessageDialog(this, "You have failed to accept the position", "Failed", JOptionPane.OK_OPTION);
		}
		
	}