public void computerPress(int num)
    {
	switch(num)
	{
	case 1: updateArray(1);
	    tic.fillArray(passArray());
	    button1.setText("O");
	    button1.setEnabled(false);
	    turn++;
	    movePanelUpdate("Player X, it's your turn!");
	    moveList.push(1);
	    break;
	case 2: updateArray(2);
	    tic.fillArray(passArray());
	    button2.setText("O");
	    button2.setEnabled(false);
	    turn++;
	    moveList.push(2);
	    movePanelUpdate("Player X, it's your turn!");
	    break;
	case 3: updateArray(3);
	    tic.fillArray(passArray());
	    button3.setText("O");
	    button3.setEnabled(false);
	    turn++;
	    moveList.push(3);
	    movePanelUpdate("Player X, it's your turn!");
	    break;
	case 4: updateArray(4);
	    tic.fillArray(passArray());
	    button4.setText("O");
	    button4.setEnabled(false);
	    turn++;
	    moveList.push(4);
	    movePanelUpdate("Player X, it's your turn!");
	    break;
	case 5: updateArray(5);
	    tic.fillArray(passArray());
	    button5.setText("O");
	    button5.setEnabled(false);
	    turn++;
	    moveList.push(5);
	    movePanelUpdate("Player X, it's your turn!");
	    break;
	case 6: updateArray(6);
	    tic.fillArray(passArray());
	    button6.setText("O");
	    button6.setEnabled(false);
	    turn++;
	    moveList.push(6);
	    movePanelUpdate("Player X, it's your turn!");
	    break;
	case 7: updateArray(7);
	    tic.fillArray(passArray());
	    button7.setText("O");
	    button7.setEnabled(false);
	    turn++;
	    moveList.push(7);
	    movePanelUpdate("Player X, it's your turn!");
	    break;
	case 8: updateArray(8);
	    tic.fillArray(passArray());
	    button8.setText("O");
	    button8.setEnabled(false);
	    turn++;
	    moveList.push(8);
	    movePanelUpdate("Player X, it's your turn!");
	    break;
	case 9: updateArray(9);
	    tic.fillArray(passArray());
	    button9.setText("O");
	    button9.setEnabled(false);
	    turn++;
	    moveList.push(9);
	    movePanelUpdate("Player X, it's your turn!");
	    break;
	}
    }