import javax.swing.*;
/*
 * Student_Identification_and_Test_Selection_Error_Window.java
 *
 * Created on October 19, 2003, 2:42 AM
 */

/**
 *
 * @author  Tyler Vodak
 */
public class Student_Identification_and_Test_Selection_Error_Window extends javax.swing.JFrame {
    
    /** Creates new form Student_Identification_and_Test_Selection_Error_Window */
    public Student_Identification_and_Test_Selection_Error_Window() {
        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
        jOptionPane1 = new javax.swing.JOptionPane();

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

        jOptionPane1.setMessage("Cannot locate student information. Check if information is entered correctly and if teacher database contains correct information.");
        getContentPane().add(jOptionPane1, java.awt.BorderLayout.CENTER);

        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 Student_Identification_and_Test_Selection_Error_Window().show();
    }
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JOptionPane jOptionPane1;
    // End of variables declaration//GEN-END:variables
    
}