@Override
    public void actionPerformed(ActionEvent evt)
    {
       
        if(evt.getSource().equals(Submit_btn))
        {
            if(Answer1Correct || Answer2Correct || Answer3Correct || Answer4Correct)
            {
                //BUTTON CODE HERE
                this.CreateQuestion();

            }
            else
            {
            
                // Message box pop up to say please select correct answer
                JOptionPane.showMessageDialog(null,"Please indicate correct answer.","Error",JOptionPane.WARNING_MESSAGE);
            
            }
        }
        
    }