@SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                          
    private void initComponents() {

        QuizTitle = new javax.swing.JLabel();
        RandomGeneration_button = new javax.swing.JButton();
        TakeQuiz_button = new javax.swing.JButton();
        Quit_button = new javax.swing.JButton();
        ShowPracticeQuestion_chkbox = new javax.swing.JCheckBox();
        NavigationEnabled_chkbox = new javax.swing.JCheckBox();
        TimeAllotted_chkbox = new javax.swing.JCheckBox();
        
        TimeAllottedField_text = new javax.swing.JTextField();
        TimeAllottedField_text.setEditable(false);
        TitleEntry_textbox = new javax.swing.JTextField();

        QuizTitle.setText("Quiz Generation Menu");

        RandomGeneration_button.setText("Random Generation");
        RandomGeneration_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                RandomGeneration_buttonActionPerformed(evt);
            }
        });
        TimeAllotted_chkbox.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                TimeAllotted_chkboxActionPerformed(evt);
            }
        });

        TakeQuiz_button.setText("Take Quiz");

        Quit_button.setText("Quit");

        ShowPracticeQuestion_chkbox.setText("Show practice question");
        ShowPracticeQuestion_chkbox.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ShowPracticeQuestion_chkboxActionPerformed(evt);
            }
        });

        NavigationEnabled_chkbox.setText("Navigation Enabled");

        TimeAllotted_chkbox.setText("Time allotted");
        TimeAllotted_chkbox.setActionCommand("Time allotted");

        TitleEntry_textbox.setText("Enter a title");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(NavigationEnabled_chkbox)
                            .addComponent(ShowPracticeQuestion_chkbox)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(TimeAllotted_chkbox)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(TimeAllottedField_text, javax.swing.GroupLayout.PREFERRED_SIZE, 65, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(TitleEntry_textbox, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(75, 75, 75)
                        .addComponent(QuizTitle))
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Quit_button)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(RandomGeneration_button)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(TakeQuiz_button)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(QuizTitle)
                .addGap(27, 27, 27)
                .addComponent(TitleEntry_textbox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(ShowPracticeQuestion_chkbox)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(NavigationEnabled_chkbox)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(TimeAllotted_chkbox)
                    .addComponent(TimeAllottedField_text, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 65, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(RandomGeneration_button)
                    .addComponent(Quit_button)
                    .addComponent(TakeQuiz_button))
                .addGap(31, 31, 31))
        );
    }// </editor-fold>