ModuleLeaderGUIPanel(){
        setBackground(Color.WHITE);
        setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
        
        /*
         *Sets up Buttons
         */
        CreateQuestionButton = new JButton("Create Question");
        ViewStatsButton = new JButton("View Statistics");
        ValidateQuestionButton = new JButton("Validate Question");
        CreateQuizButton = new JButton("Create Quiz");
        Exit= new JButton("Exit");

        add(Box.createRigidArea(new Dimension(5,100)));
        add(CreateQuestionButton);
        add(Box.createRigidArea(new Dimension(5,10)));
        add(ValidateQuestionButton);
        add(Box.createRigidArea(new Dimension(5,10)));
        add(CreateQuizButton);
        add(Box.createRigidArea(new Dimension(5,10)));
        add(ViewStatsButton);
        add(Box.createRigidArea(new Dimension(5,400)));
        add(Exit);
               
        ActionListener CreateQuestionListener = new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent actionEvent) {
                GUI.removePanel();
                GUI.loadPanel(new Question.CreateQuestion());
            }
        };
     
      
        ActionListener ViewStatsListener = new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent actionEvent) {
               GUI.removePanel();
               GUI.loadPanel(new Results.ResultPanel(100, 321));
            }
        };
        
        
        ActionListener ValidateQuestionListener = new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent actionEvent) {
                GUI.removePanel();
                GUI.loadPanel(new Question.ValidateQuestion());
            }
        };
     
     
        ActionListener CreateQuizListener6 = new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent actionEvent) {
                GUI.removePanel();
                GUI.loadPanel(new QuizGeneration.QuizGenerationForm());
            }
        };
    
      
        ActionListener ExitListener = new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent actionEvent) {
                mainFrame.dispose();
            }
        };
        
      
        //log_in.addActionListener(actionListener1);
        CreateQuestionButton.addActionListener(CreateQuestionListener);
        ViewStatsButton.addActionListener(ViewStatsListener);
        ValidateQuestionButton.addActionListener(ValidateQuestionListener);
        CreateQuizButton.addActionListener(CreateQuizListener6);
        Exit.addActionListener(ExitListener);
    }