private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        
//        List<Question> questions = DbAccess.getAllQuestions();
//        questions.size();
//        
//        
//        for (Question q : questions)
//        {
//            JOptionPane.showConfirmDialog(rootPane, q.questionText);
//        }
//        
//        QuizResult qr = DbAccess.getQuizResult(100, 1341131);
//        for (QuizResultRow qrr : qr.ResultRows)
//        {
//            String resultString = qrr.selectedAnswerText + qrr.correctAnswerText;
//            JOptionPane.showConfirmDialog(rootPane, resultString);
//        }
        Quiz[] Quizzes = DbAccess.getQuizzesbyUser(1341131, true);
        QuizStatistic qz = DbAccess.getQuizStatistic(Quizzes[0].quizDBId);
        System.out.print(qz.AverageScore());
        System.out.print(qz.maxScore());
        System.out.print(qz.minScore());
        System.out.print(qz.bestQuestion());
        
    }//GEN-LAST:event_jButton2ActionPerformed