public void checkHorizontalChain(int changedX, int changedY){
		int chainLength = 0;
		String checkValue = "";
		if (m_buttons[changedX][changedY].getText() == "X"){
			m_winningButtons.clear();
			m_winningButtons.add(m_buttons[changedX][changedY]);
			chainLength = 1;
			checkValue = "X";
			chainLength = checkRight(changedX, changedY + 1, checkValue, chainLength);
			chainLength = checkLeft(changedX, changedY - 1, checkValue, chainLength);
		}else if (m_buttons[changedX][changedY].getText() == "O"){
			m_winningButtons.clear();
			m_winningButtons.add(m_buttons[changedX][changedY]);
			chainLength = 1;
			checkValue = "O";
			chainLength = checkRight(changedX, changedY + 1, checkValue, chainLength);
			chainLength = checkLeft(changedX, changedY - 1, checkValue, chainLength);
		}
		if (chainLength >= WINNING_CHAIN_LENGTH && checkValue == "O"){
			m_order.get(m_turnCount).setHasWon(true);
			disableButtons();
		} else if (chainLength >= WINNING_CHAIN_LENGTH && checkValue == "X"){
			m_order.get(m_turnCount).setHasWon(true);
			disableButtons();
		}
	}