/* * Class_Roster.java * * Created on October 18, 2003, 12:46 PM */ /** * * @author Andrew Cushingham */ public class Class_Roster extends javax.swing.JFrame { /** Creates new form Class_Roster */ public Class_Roster() { 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 jScrollPane1 = new javax.swing.JScrollPane(); jLabel1 = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton(); jTextArea1 = new javax.swing.JTextArea(); jScrollBar1 = new javax.swing.JScrollBar(); jScrollPane1.setHorizontalScrollBarPolicy(javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); setTitle("Class Roster"); setName("Class Roster"); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { exitForm(evt); } }); jLabel1.setFont(new java.awt.Font("Dialog", 1, 14)); jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabel1.setText("Student List"); getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(60, 20, 100, 30)); jButton1.setMnemonic('C'); jButton1.setText("Close"); getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 420, 70, -1)); jTextArea1.setText("Cushingham, Andrew\nCallaway, John\nDickens, Emily\nEllis, Truman\nFreely, I.P.\nGoforth, Zera\nHenderson, Edward\nIrwing, Erin\nPolo, Marco\nSantiago, Alexis\nSeieroe, Christopher\nTang, Joshua\nTatnal, Lindsey\nValdez, Scott\nVan Allen, Kellen\nZamora, Andrea"); jTextArea1.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0))); getContentPane().add(jTextArea1, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 60, 140, 340)); getContentPane().add(jScrollBar1, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 60, -1, 340)); 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 Class_Roster().show(); } // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JButton jButton1; private javax.swing.JLabel jLabel1; private javax.swing.JScrollBar jScrollBar1; private javax.swing.JScrollPane jScrollPane1; private javax.swing.JTextArea jTextArea1; // End of variables declaration//GEN-END:variables }