/* * Beginning_a_Test_Help_Screen.java * * Created on October 19, 2003, 3:36 AM */ /** * * @author Tyler Vodak */ public class Beginning_a_Test_Help_Screen extends javax.swing.JFrame { /** Creates new form Beginning_a_Test_Help_Screen */ public Beginning_a_Test_Help_Screen() { 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 jTextArea1 = new javax.swing.JTextArea(); jPanel1 = new javax.swing.JPanel(); jButton1 = new javax.swing.JButton(); setTitle("Beginning a Test"); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { exitForm(evt); } }); jTextArea1.setBackground(new java.awt.Color(204, 204, 204)); jTextArea1.setEditable(false); jTextArea1.setFont(new java.awt.Font("Dialog", 1, 14)); jTextArea1.setText("How to Begin a Test - \n\n Step 1. Type in your first name in the white box to the right of the label \"First Name.\"\n\n Step 2. Type in your last name in the white box to the right of the label \"Last Name.\"\n\n Step 3. Type in your student ID number in the white box next to the label \"Student ID.\"\n\n Step 4. Click the down-pointing arrow in the box next to the label \"Class\" and click on \n the name of the class you are taking the test for.\n\n Step 5. Click the down-pointing arror in the box next to the label \"Select Test\" and \n click on the test you are taking.\n\n Step 6. Make sure all information you have typed in is correct, and then click the \n \"Begin Test\" button."); getContentPane().add(jTextArea1, java.awt.BorderLayout.CENTER); jButton1.setText("Close"); jPanel1.add(jButton1); getContentPane().add(jPanel1, 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 Beginning_a_Test_Help_Screen().show(); } // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JButton jButton1; private javax.swing.JPanel jPanel1; private javax.swing.JTextArea jTextArea1; // End of variables declaration//GEN-END:variables }