private void startBtnMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_startBtnMouseClicked

        initialize();
        for (int i = 0; i < 3; i++) {
            for (int j = 0; j < 3; j++) {
                buttons[i][j].setIcon(null);
                buttons[i][j].setEnabled(true);
            }
        }
        startBtn.setIcon(new ImageIcon(getClass().getResource("/images/EMOTICON SMILE.png")));
        wonLbl.setText("");

        if (session % 2 == 0) {
            prompt = false;
            mark(ar, 1, 1);
            if (win() == 5) {
                wonLbl.setText("You lost!");
                int count = Integer.parseInt(computerLabel.getText());
                computerLabel.setText((count + 1) + "");
                for (int i = 0; i < 3; i++) {
                    for (JButton b : buttons[i]) {
                        b.setEnabled(false);
                    }
                }
                return;
            } else if (win() == -1) {
                wonLbl.setText("It is a draw!");
                int count = Integer.parseInt(tiesLabel.getText());
                tiesLabel.setText((count + 1) + "");
                for (int i = 0; i < 3; i++) {
                    for (JButton b : buttons[i]) {
                        b.setEnabled(false);
                    }
                }
                return;
            }
        }

    }//GEN-LAST:event_startBtnMouseClicked