public QuizForm(Quiz Quiz, User User) {
        quiz = Quiz;
        initComponents();
        if (quiz.randomiseQuestions) 
                {
                    Collections.shuffle(quiz.questionList);
                }
        qIndex = 0;
        quiztimer = new Timer(1000, timerHit);
        ShowQuestion(qIndex);
        setVisible(true);
        user = User;
        timeLeft = Quiz.timeLimit * 60;
        this.setExtendedState(Frame.MAXIMIZED_BOTH);
        this.setUndecorated(true);
        
        
        
            }