/*
 * AddQuestionMC.java
 *
 * Created on October 17, 2003, 5:57 PM
 */

/**
 *
 * @author  Joe
 */
public class AddQuestionMC extends javax.swing.JFrame {
    
    /** Creates new form AddQuestionMC */
    public AddQuestionMC() {
        initComponents();
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    private void initComponents() {//GEN-BEGIN:initComponents
        Difficulty = new javax.swing.ButtonGroup();
        NumAnswers = new javax.swing.ButtonGroup();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jLabel6 = new javax.swing.JLabel();
        jRadioButton1 = new javax.swing.JRadioButton();
        jRadioButton2 = new javax.swing.JRadioButton();
        jRadioButton3 = new javax.swing.JRadioButton();
        jRadioButton4 = new javax.swing.JRadioButton();
        jTextField1 = new javax.swing.JTextField();
        jLabel7 = new javax.swing.JLabel();
        jTextField2 = new javax.swing.JTextField();
        jRadioButton5 = new javax.swing.JRadioButton();
        jRadioButton6 = new javax.swing.JRadioButton();
        jRadioButton7 = new javax.swing.JRadioButton();
        jRadioButton8 = new javax.swing.JRadioButton();

        getContentPane().setLayout(null);

        setTitle("Add Question");
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                exitForm(evt);
            }
        });

        jLabel1.setText("Type:");
        getContentPane().add(jLabel1);
        jLabel1.setBounds(30, 30, 30, 16);

        jLabel2.setText("Difficulty:");
        getContentPane().add(jLabel2);
        jLabel2.setBounds(30, 70, 60, 16);

        jLabel3.setText("Time:");
        getContentPane().add(jLabel3);
        jLabel3.setBounds(30, 110, 31, 16);

        jLabel4.setText("Class:");
        getContentPane().add(jLabel4);
        jLabel4.setBounds(30, 150, 35, 16);

        jLabel5.setText("Number of Answers:");
        getContentPane().add(jLabel5);
        jLabel5.setBounds(30, 190, 120, 16);

        jButton1.setText("Okay");
        getContentPane().add(jButton1);
        jButton1.setBounds(80, 250, 63, 26);

        jButton2.setText("Cancel");
        getContentPane().add(jButton2);
        jButton2.setBounds(230, 250, 73, 26);

        jLabel6.setText("Multiple Choice");
        getContentPane().add(jLabel6);
        jLabel6.setBounds(90, 30, 100, 16);

        jRadioButton1.setText("Easy");
        Difficulty.add(jRadioButton1);
        getContentPane().add(jRadioButton1);
        jRadioButton1.setBounds(90, 70, 50, 24);

        jRadioButton2.setText("Med");
        Difficulty.add(jRadioButton2);
        getContentPane().add(jRadioButton2);
        jRadioButton2.setBounds(140, 70, 50, 24);

        jRadioButton3.setText("Hard");
        Difficulty.add(jRadioButton3);
        getContentPane().add(jRadioButton3);
        jRadioButton3.setBounds(190, 70, 50, 24);

        jRadioButton4.setText("Very Hard");
        Difficulty.add(jRadioButton4);
        getContentPane().add(jRadioButton4);
        jRadioButton4.setBounds(250, 70, 81, 24);

        getContentPane().add(jTextField1);
        jTextField1.setBounds(80, 110, 80, 30);

        jLabel7.setText("mins");
        getContentPane().add(jLabel7);
        jLabel7.setBounds(170, 110, 28, 30);

        getContentPane().add(jTextField2);
        jTextField2.setBounds(80, 150, 180, 30);

        jRadioButton5.setText("2");
        NumAnswers.add(jRadioButton5);
        getContentPane().add(jRadioButton5);
        jRadioButton5.setBounds(150, 190, 30, 24);

        jRadioButton6.setText("3");
        NumAnswers.add(jRadioButton6);
        getContentPane().add(jRadioButton6);
        jRadioButton6.setBounds(190, 190, 30, 24);

        jRadioButton7.setText("4");
        NumAnswers.add(jRadioButton7);
        getContentPane().add(jRadioButton7);
        jRadioButton7.setBounds(230, 190, 30, 24);

        jRadioButton8.setText("5");
        NumAnswers.add(jRadioButton8);
        getContentPane().add(jRadioButton8);
        jRadioButton8.setBounds(270, 190, 40, 24);

        pack();
    }//GEN-END:initComponents
    
    /** Exit the Application */
    private void exitForm(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_exitForm
        System.exit(0);
    }//GEN-LAST:event_exitForm
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        new AddQuestionMC().show();
    }
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.ButtonGroup Difficulty;
    private javax.swing.ButtonGroup NumAnswers;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JRadioButton jRadioButton1;
    private javax.swing.JRadioButton jRadioButton2;
    private javax.swing.JRadioButton jRadioButton3;
    private javax.swing.JRadioButton jRadioButton4;
    private javax.swing.JRadioButton jRadioButton5;
    private javax.swing.JRadioButton jRadioButton6;
    private javax.swing.JRadioButton jRadioButton7;
    private javax.swing.JRadioButton jRadioButton8;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    // End of variables declaration//GEN-END:variables
    
}