private void NextBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_NextBtnActionPerformed
        // TODO add your handling code here:
        
        setResponse();
        String ac = evt.getActionCommand();
        //Show next question
        if (ac.equals("Next") && qIndex < quiz.questionList.size() - 1)
        {
            qIndex++;
            ShowQuestion( quiz.questionList.get(qIndex));
        }
        else if (ac.equals("Submit"))
        {
            saveResults();
        }
        else if (ac.equals("Start"))
        {
            startQuiz();
        }
    }//GEN-LAST:event_NextBtnActionPerformed