/*
 * Add_Questions.java
 *
 * Created on October 18, 2003, 1:41 PM
 */

/**
 *
 * @author  Minh Nguyen
 */
public class Add_Questions extends javax.swing.JFrame {
    
    /** Creates new form Add_Questions */
    public Add_Questions() {
        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
        jPanel1 = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();
        jRadioButton1 = new javax.swing.JRadioButton();
        jRadioButton2 = new javax.swing.JRadioButton();
        jRadioButton3 = new javax.swing.JRadioButton();
        jRadioButton4 = new javax.swing.JRadioButton();
        jRadioButton5 = new javax.swing.JRadioButton();
        jPanel2 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jRadioButton6 = new javax.swing.JRadioButton();
        jRadioButton7 = new javax.swing.JRadioButton();
        jRadioButton8 = new javax.swing.JRadioButton();
        jPanel3 = new javax.swing.JPanel();
        jLabel3 = new javax.swing.JLabel();
        jPanel4 = new javax.swing.JPanel();
        jLabel4 = new javax.swing.JLabel();
        jRadioButton9 = new javax.swing.JRadioButton();
        jRadioButton10 = new javax.swing.JRadioButton();
        jPanel5 = new javax.swing.JPanel();
        jButton1 = new javax.swing.JButton();
        jToggleButton1 = new javax.swing.JToggleButton();

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

        jPanel1.setLayout(new java.awt.GridLayout(6, 1));

        jPanel1.setPreferredSize(new java.awt.Dimension(130, 80));
        jLabel2.setText("Type of Questions");
        jLabel2.setVerticalAlignment(javax.swing.SwingConstants.TOP);
        jPanel1.add(jLabel2);

        jRadioButton1.setText("Multiple Choice");
        jRadioButton1.setPreferredSize(new java.awt.Dimension(104, 20));
        jPanel1.add(jRadioButton1);

        jRadioButton2.setText("Essay");
        jRadioButton2.setPreferredSize(new java.awt.Dimension(104, 20));
        jPanel1.add(jRadioButton2);

        jRadioButton3.setText("True / False");
        jPanel1.add(jRadioButton3);

        jRadioButton4.setText("Short Answer");
        jPanel1.add(jRadioButton4);

        jRadioButton5.setText("Fill In The Blank");
        jPanel1.add(jRadioButton5);

        getContentPane().add(jPanel1, java.awt.BorderLayout.WEST);

        jPanel2.setLayout(new java.awt.GridLayout(4, 1));

        jPanel2.setPreferredSize(new java.awt.Dimension(60, 50));
        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel1.setText("Question Difficulty");
        jLabel1.setVerticalAlignment(javax.swing.SwingConstants.TOP);
        jPanel2.add(jLabel1);

        jRadioButton6.setText("Easy");
        jRadioButton6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jPanel2.add(jRadioButton6);

        jRadioButton7.setText("Medium");
        jRadioButton7.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jPanel2.add(jRadioButton7);

        jRadioButton8.setText("Hard");
        jRadioButton8.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jPanel2.add(jRadioButton8);

        getContentPane().add(jPanel2, java.awt.BorderLayout.CENTER);

        jLabel3.setText("Add New Questions");
        jPanel3.add(jLabel3);

        getContentPane().add(jPanel3, java.awt.BorderLayout.NORTH);

        jPanel4.setLayout(new java.awt.GridLayout(3, 1));

        jPanel4.setPreferredSize(new java.awt.Dimension(140, 48));
        jLabel4.setText("Generation Sheme");
        jLabel4.setVerticalAlignment(javax.swing.SwingConstants.TOP);
        jPanel4.add(jLabel4);

        jRadioButton9.setText("Auto Generation");
        jRadioButton9.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        jPanel4.add(jRadioButton9);

        jRadioButton10.setText("Manuel Generation");
        jRadioButton10.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        jPanel4.add(jRadioButton10);

        getContentPane().add(jPanel4, java.awt.BorderLayout.EAST);

        jPanel5.setLayout(new java.awt.GridLayout(1, 2));

        jPanel5.setPreferredSize(new java.awt.Dimension(100, 26));
        jButton1.setText("GENERATE!");
        jPanel5.add(jButton1);

        jToggleButton1.setText("CANCEL");
        jPanel5.add(jToggleButton1);

        getContentPane().add(jPanel5, java.awt.BorderLayout.SOUTH);

        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 Add_Questions().show();
    }
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JRadioButton jRadioButton1;
    private javax.swing.JRadioButton jRadioButton10;
    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.JRadioButton jRadioButton9;
    private javax.swing.JToggleButton jToggleButton1;
    // End of variables declaration//GEN-END:variables
    
}