public void ticRefreshSpace(int space)
    {
        if (space == 1) {
	    button1.setText("");
	    button1.setEnabled(true);
        }
	else if (space == 2) {
	    button2.setText("");
	    button2.setEnabled(true);
	}
	else if (space == 3) {
	    button3.setText("");
	    button3.setEnabled(true);
	}
	else if (space == 4) {
	    button4.setText("");
	    button4.setEnabled(true);
	}
	else if (space == 5) {
	    button5.setText("");
	    button5.setEnabled(true);
	}
	else if (space == 6) {
	    button6.setText("");
	    button6.setEnabled(true);
	}
	else if (space == 7) {
	    button7.setText("");
	    button7.setEnabled(true);
	}
	else if (space == 8) {
	    button8.setText("");
	    button8.setEnabled(true);
	}
	else if (space  == 9) {
        button9.setText("");
        button9.setEnabled(true);
	}

	// Resets that space in the local taken spaces array
        takenSpaces[space-1] = 0;

	// Alerts the player to the move having been undone
        moveLabel.setText("Previous move has been undone!");

        turn--;

	// Resets that specific spot in the array in TicTacToeGame class
        tic.resetArraySpace(space);
    }