Java – Adding Event Handling & Application Exception Handling

Class files in zip.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

  

This part we will implement the event handling methods for our UI windows and top level menu.  Each input window should have, at a minimum, 3 buttons to clear the input, save the input, and close the window.  All three buttons should have an event handling method attached to them.  Make sure that the close button doesn’t close the application!

The help about window should have a close button with an event handling method.

In addition, all of the menu items should have an event handling method that opens the window when selected.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

The choice of whether you will implement event handling via the Netbeans Event tab, or writing your own event handling methods, is up to you.

In the event that you don’t get all the buttons and menu items event handling methods implemented, you should disable that menu item or event.  If a button or menu item is clicked and nothing happens, that is an error in your code. 

Note that you have 2 weeks to finish this assignment and next week’s assignment will overlap this one.  However, if you get it done earlier than the deadline, don’t wait to hand it in. This assignment is a long one but shouldn’t be too difficult if you have all of the base classes and the data container, implemented.

Event Handling Detail – An Example:

Implementing event handling for adding a student

1) Retrieve all the data from the input window using the getText method of the input fields

2) Create a Student object using an overloaded constructor to set the values of the data members or use the set methods, of the Student class.

3) Store the student in the array list in the data container

In order to store the student in the data container, you will have to pass the data container or the data container student list, to the constructor of the add student window and create a local copy of it as you can’t modify the action performed method to take the data container as an argument.

 

For this part, we are going to modify the UI classes to throw exceptions on the following conditions:1) When the Save button is clicked in either the Student or Faculty Add function, test for an empty name and SSN fields.  If the name or SSN field is empty, throw a NoDataException.  This will require you to write an exception class called “NoDataException”.  To handle the exception, create a dialog box that will display when the exception is thrown, informing the user that either the name field or the SSN field, is empty. Don’t allow the user to continue the save operation until these fields are filled in.   A dialog box should only have an Okay button to close the dialog box.2) Test for an empty classroom number when the user clicks the Save button in the Classroom add window. If a classroom number field is empty, throw a NoRoomSpecifiedException.  This will require you to write an exception class called “NoRoomSpecifiedException”.   If this exception is thrown, display a dialog box informing the user that no classroom number was specified and set a default classroom number of 100. NOTE: As you can see, we are not implementing exception handling for all fields in all classes.

WilliamStearman_Java301/build.xml

Builds, tests, and runs the project WilliamStearman_Java301.

WilliamStearman_Java301/build/classes/.netbeans_automatic_build

WilliamStearman_Java301/build/classes/java90301/AddFaculty$1.class
package java90301;
synchronized class AddFaculty$1 implements java.awt.event.ActionListener {
void AddFaculty$1(AddFaculty);
public void actionPerformed(java.awt.event.ActionEvent);
}

WilliamStearman_Java301/build/classes/java90301/AddFaculty$2.class
package java90301;
synchronized class AddFaculty$2 implements java.awt.event.ActionListener {
void AddFaculty$2(AddFaculty);
public void actionPerformed(java.awt.event.ActionEvent);
}

WilliamStearman_Java301/build/classes/java90301/AddFaculty$3.class
package java90301;
synchronized class AddFaculty$3 implements java.awt.event.ActionListener {
void AddFaculty$3(AddFaculty);
public void actionPerformed(java.awt.event.ActionEvent);
}

WilliamStearman_Java301/build/classes/java90301/AddFaculty$4.class
package java90301;
synchronized class AddFaculty$4 implements java.awt.event.ActionListener {
void AddFaculty$4(AddFaculty);
public void actionPerformed(java.awt.event.ActionEvent);
}

WilliamStearman_Java301/build/classes/java90301/AddFaculty$5.class
package java90301;
final synchronized class AddFaculty$5 implements Runnable {
void AddFaculty$5();
public void run();
}

WilliamStearman_Java301/build/classes/java90301/AddFaculty.class
package java90301;
public synchronized class AddFaculty extends javax.swing.JFrame {
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
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.JLabel jLabel8;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField10;
private javax.swing.JTextField jTextField11;
private javax.swing.JTextField jTextField12;
private javax.swing.JTextField jTextField13;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
private javax.swing.JTextField jTextField5;
private javax.swing.JTextField jTextField6;
private javax.swing.JTextField jTextField7;
private javax.swing.JTextField jTextField8;
private javax.swing.JTextField jTextField9;
public void AddFaculty();
private void initComponents();
private void jTextField7ActionPerformed(java.awt.event.ActionEvent);
private void jTextField9ActionPerformed(java.awt.event.ActionEvent);
private void jTextField12ActionPerformed(java.awt.event.ActionEvent);
private void jButton3ActionPerformed(java.awt.event.ActionEvent);
public static void main(String[]);
}

WilliamStearman_Java301/build/classes/java90301/Main.class
package java90301;
public synchronized class Main {
public void Main();
public static void main(String[]);
}

WilliamStearman_Java301/build/classes/java90301/MainMenu$1.class
package java90301;
synchronized class MainMenu$1 implements java.awt.event.ActionListener {
void MainMenu$1(MainMenu);
public void actionPerformed(java.awt.event.ActionEvent);
}

WilliamStearman_Java301/build/classes/java90301/MainMenu$2.class
package java90301;
synchronized class MainMenu$2 implements java.awt.event.ActionListener {
void MainMenu$2(MainMenu);
public void actionPerformed(java.awt.event.ActionEvent);
}

WilliamStearman_Java301/build/classes/java90301/MainMenu$3.class
package java90301;
final synchronized class MainMenu$3 implements Runnable {
void MainMenu$3();
public void run();
}

WilliamStearman_Java301/build/classes/java90301/MainMenu.class
package java90301;
public synchronized class MainMenu extends javax.swing.JFrame {
private javax.swing.JMenu jMenu1;
private javax.swing.JMenu jMenu2;
private javax.swing.JMenu jMenu3;
private javax.swing.JMenu jMenu4;
private javax.swing.JMenu jMenu5;
private javax.swing.JMenu jMenu6;
private javax.swing.JMenuBar jMenuBar1;
private javax.swing.JMenuItem jMenuItem1;
private javax.swing.JMenuItem jMenuItem2;
private javax.swing.JMenuItem jMenuItem3;
private javax.swing.JMenuItem jMenuItem4;
public void MainMenu();
private void initComponents();
private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent);
private void jMenuItem3ActionPerformed(java.awt.event.ActionEvent);
public static void main(String[]);
}

WilliamStearman_Java301/build/classes/java90301/MainWindow$1.class
package java90301;
synchronized class MainWindow$1 implements java.awt.event.ActionListener {
void MainWindow$1(MainWindow);
public void actionPerformed(java.awt.event.ActionEvent);
}

WilliamStearman_Java301/build/classes/java90301/MainWindow$2.class
package java90301;
synchronized class MainWindow$2 implements java.awt.event.ActionListener {
void MainWindow$2(MainWindow);
public void actionPerformed(java.awt.event.ActionEvent);
}

WilliamStearman_Java301/build/classes/java90301/MainWindow$3.class
package java90301;
synchronized class MainWindow$3 implements java.awt.event.ActionListener {
void MainWindow$3(MainWindow);
public void actionPerformed(java.awt.event.ActionEvent);
}

WilliamStearman_Java301/build/classes/java90301/MainWindow$4.class
package java90301;
synchronized class MainWindow$4 implements java.awt.event.ActionListener {
void MainWindow$4(MainWindow);
public void actionPerformed(java.awt.event.ActionEvent);
}

WilliamStearman_Java301/build/classes/java90301/MainWindow$5.class
package java90301;
final synchronized class MainWindow$5 implements Runnable {
void MainWindow$5();
public void run();
}

WilliamStearman_Java301/build/classes/java90301/MainWindow.class
package java90301;
public synchronized class MainWindow extends javax.swing.JFrame {
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.JPasswordField jPasswordField1;
private javax.swing.JTextField jTextField1;
public void MainWindow();
private void initComponents();
private void jTextField1ActionPerformed(java.awt.event.ActionEvent);
private void jPasswordField1ActionPerformed(java.awt.event.ActionEvent);
private void jButton2ActionPerformed(java.awt.event.ActionEvent);
private void jButton1ActionPerformed(java.awt.event.ActionEvent);
public static void main(String[]);
}

WilliamStearman_Java301/build/classes/java90301/SampleMenuWindow$1.class
package java90301;
final synchronized class SampleMenuWindow$1 implements Runnable {
void SampleMenuWindow$1();
public void run();
}

WilliamStearman_Java301/build/classes/java90301/SampleMenuWindow.class
package java90301;
public synchronized class SampleMenuWindow extends javax.swing.JFrame {
private javax.swing.JMenu jMenu1;
private javax.swing.JMenu jMenu2;
private javax.swing.JMenu jMenu3;
private javax.swing.JMenuBar jMenuBar1;
private javax.swing.JMenuItem jMenuItem1;
public void SampleMenuWindow();
private void initComponents();
public static void main(String[]);
}

WilliamStearman_Java301/build/classes/Menus/AddClass.class
package Menus;
public synchronized class AddClass extends javax.swing.JPanel {
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
public void AddClass();
private void initComponents();
}

WilliamStearman_Java301/build/classes/Menus/AddClassroom.class
package Menus;
public synchronized class AddClassroom extends javax.swing.JPanel {
private javax.swing.ButtonGroup buttonGroup1;
private javax.swing.ButtonGroup buttonGroup2;
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JRadioButton jRadioButton1;
private javax.swing.JRadioButton jRadioButton2;
private javax.swing.JRadioButton jRadioButton3;
private javax.swing.JTextField jTextField1;
public void AddClassroom();
private void initComponents();
}

WilliamStearman_Java301/build/classes/Menus/AddFaculty.class
package Menus;
public synchronized class AddFaculty extends javax.swing.JPanel {
private javax.swing.ButtonGroup buttonGroup1;
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
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.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JMenu jMenu1;
private javax.swing.JMenu jMenu2;
private javax.swing.JMenuBar jMenuBar1;
private javax.swing.JPanel jPanel1;
private javax.swing.JRadioButton jRadioButton1;
private javax.swing.JRadioButton jRadioButton2;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField10;
private javax.swing.JTextField jTextField11;
private javax.swing.JTextField jTextField12;
private javax.swing.JTextField jTextField13;
private javax.swing.JTextField jTextField14;
private javax.swing.JTextField jTextField15;
private javax.swing.JTextField jTextField16;
private javax.swing.JTextField jTextField17;
private javax.swing.JTextField jTextField18;
private javax.swing.JTextField jTextField19;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField20;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
private javax.swing.JTextField jTextField5;
private javax.swing.JTextField jTextField6;
private javax.swing.JTextField jTextField7;
private javax.swing.JTextField jTextField8;
private javax.swing.JTextField jTextField9;
public void AddFaculty();
private void initComponents();
}

WilliamStearman_Java301/build/classes/Menus/AddStudent.class
package Menus;
public synchronized class AddStudent extends javax.swing.JPanel {
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
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.JLabel jLabel8;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField10;
private javax.swing.JTextField jTextField11;
private javax.swing.JTextField jTextField12;
private javax.swing.JTextField jTextField13;
private javax.swing.JTextField jTextField14;
private javax.swing.JTextField jTextField15;
private javax.swing.JTextField jTextField16;
private javax.swing.JTextField jTextField17;
private javax.swing.JTextField jTextField18;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
private javax.swing.JTextField jTextField5;
private javax.swing.JTextField jTextField6;
private javax.swing.JTextField jTextField7;
private javax.swing.JTextField jTextField8;
private javax.swing.JTextField jTextField9;
public void AddStudent();
private void initComponents();
}

WilliamStearman_Java301/build/classes/Menus/HelpWindow$1.class
package Menus;
synchronized class HelpWindow$1 extends javax.swing.AbstractListModel {
String[] strings;
void HelpWindow$1(HelpWindow);
public int getSize();
public Object getElementAt(int);
}

WilliamStearman_Java301/build/classes/Menus/HelpWindow.class
package Menus;
public synchronized class HelpWindow extends javax.swing.JPanel {
private javax.swing.JLabel jLabel1;
private javax.swing.JList jList1;
private javax.swing.JScrollPane jScrollPane1;
public void HelpWindow();
private void initComponents();
}

WilliamStearman_Java301/build/classes/Menus/Home$1.class
package Menus;
final synchronized class Home$1 implements Runnable {
void Home$1();
public void run();
}

WilliamStearman_Java301/build/classes/Menus/Home$jMenuBar1.class
package Menus;
synchronized class Home$jMenuBar1 {
public void Home$jMenuBar1();
}

WilliamStearman_Java301/build/classes/Menus/Home.class
package Menus;
public synchronized class Home extends javax.swing.JFrame {
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JMenu jMenu1;
private javax.swing.JMenu jMenu2;
private javax.swing.JMenu jMenu3;
private javax.swing.JMenu jMenu4;
private javax.swing.JMenu jMenu5;
private javax.swing.JMenu jMenu6;
private javax.swing.JMenuBarList Classes;
Home$jMenuBar1 ;
private javax.swing.JMenuItem jMenuItem1;
private javax.swing.JMenuItem jMenuItem2;
private javax.swing.JMenuItem jMenuItem3;
private javax.swing.JMenuItem jMenuItem4;
private javax.swing.JMenuItem jMenuItem5;
private javax.swing.JMenuItem jMenuItem6;
private javax.swing.JMenuItem jMenuItem7;
private javax.swing.JMenuItem jMenuItem8;
private javax.swing.JPasswordField jPasswordField1;
private javax.swing.JTextField jTextField1;
public void Home();
private void initComponents();
public static void main(String[]);
}

WilliamStearman_Java301/build/classes/Menus/ListClasses.class
package Menus;
public synchronized class ListClasses extends javax.swing.JPanel {
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTextArea jTextArea1;
public void ListClasses();
private void initComponents();
}

WilliamStearman_Java301/build/classes/Menus/ListClassrooms.class
package Menus;
public synchronized class ListClassrooms extends javax.swing.JPanel {
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTextArea jTextArea1;
public void ListClassrooms();
private void initComponents();
}

WilliamStearman_Java301/build/classes/Menus/ListFaculty.class
package Menus;
public synchronized class ListFaculty extends javax.swing.JPanel {
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTextArea jTextArea1;
public void ListFaculty();
private void initComponents();
}

WilliamStearman_Java301/build/classes/Menus/ListStudents$1.class
package Menus;
final synchronized class ListStudents$1 implements Runnable {
void ListStudents$1();
public void run();
}

WilliamStearman_Java301/build/classes/Menus/ListStudents.class
package Menus;
public synchronized class ListStudents extends javax.swing.JFrame {
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTextArea jTextArea1;
public void ListStudents();
private void initComponents();
public static void main(String[]);
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/ClassBase.class
package stearman_hierarchy;
public synchronized class ClassBase implements IClassBase {
private float classIdNumber;
private String className;
private Classroom room;
public void ClassBase();
public void ClassBase(float, String, Classroom);
public void ClassBase(ClassBase);
public void setClassIdNumber(float);
public void setClassName(String);
public void setClassroom(Classroom);
public float getClassIdNumber();
public String getClassName();
public Classroom getClassroom();
public String toString();
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/Classroom.class
package stearman_hierarchy;
public synchronized class Classroom {
private String roomNumber;
private char status;
public void Classroom();
public void Classroom(String, char);
public String getRoomNumber();
public char getStatus();
public void setRoomNumber(String);
public void setStatus(char);
public String toString();
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/DataContainer.class
package stearman_hierarchy;
public synchronized class DataContainer {
private java.util.ArrayList listOfStudents;
public void DataContainer();
public void generateReportCards(DataContainer);
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/Faculty.class
package stearman_hierarchy;
public synchronized class Faculty extends PersonBase implements IFaculty {
private java.util.GregorianCalendar dateOfHire;
private java.util.GregorianCalendar dateOfTermination;
private double salary;
private char status;
private java.util.List classes;
public void Faculty();
public void Faculty(String, String, String, java.util.GregorianCalendar, double);
public void setDateOfHire(java.util.GregorianCalendar);
public void setDateOfHire(int, int, int);
public void setDateOfTermination(java.util.GregorianCalendar);
public void setDateOfTermination(int, int, int);
public void setSalary(double);
public void setStatus(char);
public void addClass(FacultyClass);
public void addClasses(java.util.ArrayList);
public char getStatus();
public java.util.GregorianCalendar getDateOfHire();
public java.util.GregorianCalendar getDateOfTermination();
public double getSalary();
public java.util.List getClasses();
public FacultyClass getClass(int);
public String toString();
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/FacultyClass.class
package stearman_hierarchy;
public synchronized class FacultyClass extends ClassBase {
private java.util.List students;
public void FacultyClass();
public void FacultyClass(Float, String, Classroom);
public void FacultyClass(ClassBase, java.util.List);
public java.util.List getAllStudents();
public Student getStudent(int);
public void addStudent(Student);
public void addStudents(java.util.List);
public String toString();
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/FrameExitHandler.class
package stearman_hierarchy;
synchronized class FrameExitHandler extends java.awt.event.WindowAdapter {
void FrameExitHandler();
public void windowClosing(java.awt.event.WindowEvent);
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/IClassBase.class
package stearman_hierarchy;
public abstract interface IClassBase {
public abstract void setClassroom(Classroom);
public abstract void setClassName(String);
public abstract void setClassIdNumber(float);
public abstract Classroom getClassroom();
public abstract String getClassName();
public abstract float getClassIdNumber();
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/IFaculty.class
package stearman_hierarchy;
public abstract interface IFaculty {
public abstract void setDateOfHire(java.util.GregorianCalendar);
public abstract void setDateOfTermination(java.util.GregorianCalendar);
public abstract void setSalary(double);
public abstract void addClass(FacultyClass);
public abstract java.util.GregorianCalendar getDateOfHire();
public abstract java.util.GregorianCalendar getDateOfTermination();
public abstract double getSalary();
public abstract java.util.List getClasses();
public abstract FacultyClass getClass(int);
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/IPerson.class
package stearman_hierarchy;
public abstract interface IPerson {
public abstract String getName();
public abstract String getAddress();
public abstract String getSSN();
public abstract java.util.GregorianCalendar getDateOfBirth();
public abstract IPerson getPersonBase();
public abstract void setName(String);
public abstract void setAddress(String);
public abstract void setSSN(String);
public abstract void setDateOfBirth(java.util.GregorianCalendar);
static void ();
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/IStudent.class
package stearman_hierarchy;
public abstract interface IStudent {
public abstract void setCurrentGPA(float);
public abstract void setCurrentGPA();
public abstract void setDateOfGraduation(java.util.GregorianCalendar);
public abstract void setDateOfGraduation(int, int, int);
public abstract java.util.GregorianCalendar getDateOfGraduation();
public abstract float getCurrentGPA();
public abstract java.util.List getClasses();
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/PersonBase.class
package stearman_hierarchy;
public synchronized class PersonBase implements IPerson {
private String name;
private String address;
private String SSN;
private java.util.GregorianCalendar dateOfBirth;
public void PersonBase();
public void PersonBase(String, String, String, java.util.GregorianCalendar);
public String getName();
public String getAddress();
public String getSSN();
public java.util.GregorianCalendar getDateOfBirth();
public String dateOfBirth_toString();
public PersonBase getPersonBase();
public void setName(String);
public void setAddress(String);
public void setSSN(String);
public void setDateOfBirth(java.util.GregorianCalendar);
public void setDateOfBirth(int, int, int);
public String toString();
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/ReportCard.class
package stearman_hierarchy;
public synchronized class ReportCard extends javax.swing.JFrame implements java.awt.event.ActionListener {
private javax.swing.JTextField m_fileText;
private javax.swing.JComboBox m_sortChoice;
private javax.swing.JComboBox m_studentList;
private javax.swing.JButton m_runButton;
public static void main(String[]);
public void ReportCard();
public void actionPerformed(java.awt.event.ActionEvent);
private void initTopPanel();
private void initMiddlePanel();
private void initBottomPanel();
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/Student.class
package stearman_hierarchy;
public synchronized class Student extends PersonBase implements IStudent {
private java.util.GregorianCalendar dateOfGraduation;
private float currentGPA;
private java.util.List classes;
public void Student();
public void Student(String, String, String, java.util.GregorianCalendar, java.util.GregorianCalendar);
public void setCurrentGPA(float);
public void setCurrentGPA();
public void setDateOfGraduation(java.util.GregorianCalendar);
public void setDateOfGraduation(int, int, int);
public float getCurrentGPA();
public java.util.GregorianCalendar getDateOfGraduation();
public java.util.List getClasses();
public String toString();
}

WilliamStearman_Java301/build/classes/stearman_hierarchy/StudentClass.class
package stearman_hierarchy;
public synchronized class StudentClass extends ClassBase {
private java.util.List grades;
public void StudentClass();
public void StudentClass(float, String, Classroom);
public void StudentClass(ClassBase);
public void StudentClass(ClassBase, java.util.List);
public void StudentClass(ClassBase, float);
public java.util.List getGrades();
public void setGrades(java.util.List);
public float getGrade(int);
public void addGrade(float);
public void addGrades(java.util.List);
public String toString();
}

WilliamStearman_Java301/build/classes/stearman_utilities/Logger.class
package stearman_utilities;
public synchronized class Logger {
public static int Debug;
public static int Info;
public static int Warning;
public static int Error;
private static int logLevel;
private static boolean logEnabled;
public void Logger();
public static void main(String[]);
public static void logDebug(String);
public static void logInfo(String);
public static void logWarning(String);
public static void logError(String);
public static void enableLogging();
public static void disableLogging();
public static void setDetailDebug();
public static void setDetailInfo();
public static void setDetailWarning();
public static void setDetailError();
private void Logger();
static void ();
}

WilliamStearman_Java301/build/classes/williamstearman_java301/HelloWorld.class
package williamstearman_java301;
public synchronized class HelloWorld {
public void HelloWorld();
public static void main(String[]);
}

WilliamStearman_Java301/manifest.mf
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build

WilliamStearman_Java301/nbproject/build-impl.xml

Must set src.dir
Must set test.src.dir
Must set build.dir
Must set dist.dir
Must set build.classes.dir
Must set dist.javadoc.dir
Must set build.test.classes.dir
Must set build.test.results.dir
Must set build.classes.excludes
Must set dist.jar

Must set javac.includes

Must set JVM to use for profiling in profiler.info.jvm
Must set profiler agent JVM arguments in profiler.info.jvmargs.agent

Must select some files in the IDE or set javac.includes

To run this application from the command line without Ant, try:

java -cp “${run.classpath.with.dist.jar}” ${main.class}

To run this application from the command line without Ant, try:

java -jar “${dist.jar.resolved}”

Must select one file in the IDE or set run.class

Must select one file in the IDE or set run.class

Must select one file in the IDE or set debug.class

Must select one file in the IDE or set debug.class

Must set fix.includes

Must select one file in the IDE or set profile.class

Must select some files in the IDE or set javac.includes

Some tests failed; see details above.

Must select some files in the IDE or set test.includes

Some tests failed; see details above.

Must select one file in the IDE or set test.class

Must select one file in the IDE or set applet.url

Must select one file in the IDE or set applet.url

WilliamStearman_Java301/nbproject/genfiles.properties
build.xml.data.CRC32=99aac5e2
build.xml.script.CRC32=9fee1c04
build.xml.stylesheet.CRC32=28e38971@1.44.1.45
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=99aac5e2
nbproject/build-impl.xml.script.CRC32=dc0caf9c
nbproject/build-impl.xml.stylesheet.CRC32=0ae3a408@1.44.1.45

WilliamStearman_Java301/nbproject/private/private.properties
compile.on.save=true
user.properties.file=C:\\Users\\Bear\\.netbeans\\7.0\\build.properties

WilliamStearman_Java301/nbproject/private/private.xml

WilliamStearman_Java301/nbproject/project.properties
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processor.options=
annotation.processing.processors.list=
annotation.processing.run.all.processors=true
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
build.classes.dir=${build.dir}/classes
build.classes.excludes=**/*.java,**/*.form
# This directory is removed when the project is cleaned:
build.dir=build
build.generated.dir=${build.dir}/generated
build.generated.sources.dir=${build.dir}/generated-sources
# Only compile against the classpath explicitly listed here:
build.sysclasspath=ignore
build.test.classes.dir=${build.dir}/test/classes
build.test.results.dir=${build.dir}/test/results
# Uncomment to specify the preferred debugger connection transport:
#debug.transport=dt_socket
debug.classpath=\
${run.classpath}
debug.test.classpath=\
${run.test.classpath}
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/WilliamStearman_Java301.jar
dist.javadoc.dir=${dist.dir}/javadoc
excludes=
includes=**
jar.compress=false
javac.classpath=\
${libs.beans-binding.classpath}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.processorpath=\
${javac.classpath}
javac.source=1.6
javac.target=1.6
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}
javac.test.processorpath=\
${javac.test.classpath}
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=${source.encoding}
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.private=false
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
main.class=Menus.MainMenu
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false
platform.active=default_platform
run.classpath=\
${javac.classpath}:\
${build.classes.dir}
# Space-separated list of JVM arguments used when running the project
# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
# or test-sys-prop.name=value to set system properties for unit tests):
run.jvmargs=
run.test.classpath=\
${javac.test.classpath}:\
${build.test.classes.dir}
source.encoding=UTF-8
src.dir=src
test.src.dir=test

WilliamStearman_Java301/nbproject/project.xml

org.netbeans.modules.java.j2seproject

WilliamStearman_Java301

WilliamStearman_Java301/src/Menus/AddClass.form

WilliamStearman_Java301/src/Menus/AddClass.java
WilliamStearman_Java301/src/Menus/AddClass.java
/*

 * To change this template, choose Tools | Templates

 * and open the template in the editor.

 */

/*

 * AddClass.java

 *

 * Created on Oct 6, 2013, 7:05:08 PM

 */

package
 
Menus
;

/**

 *

 * 
@author
 Bear

 */

public
 
class
 
AddClass
 
extends
 javax
.
swing
.
JPanel
 
{

    
/** Creates new form AddClass */

    
public
 
AddClass
()
 
{

        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.

     */

    @
SuppressWarnings
(
“unchecked”
)

    
// //GEN-BEGIN:initComponents

    
private
 
void
 initComponents
()
 
{

        jLabel1 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel2 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel3 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel4 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField1 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField2 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField3 
=
 
new
 javax
.
swing
.
JTextField
();

        jButton1 
=
 
new
 javax
.
swing
.
JButton
();

        jButton2 
=
 
new
 javax
.
swing
.
JButton
();

        jButton3 
=
 
new
 javax
.
swing
.
JButton
();

        jLabel1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
1
,
 
14
));
 
// NOI18N

        jLabel1
.
setHorizontalAlignment
(
javax
.
swing
.
SwingConstants
.
CENTER
);

        jLabel1
.
setText
(
“Add A Class”
);

        jLabel1
.
setToolTipText
(
“”
);

        jLabel2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel2
.
setText
(
“Room #”
);

        jLabel2
.
setToolTipText
(
“Room #”
);

        jLabel3
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel3
.
setText
(
“Class Name”
);

        jLabel3
.
setToolTipText
(
“Class Name”
);

        jLabel4
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel4
.
setText
(
“Class ID Number”
);

        jLabel4
.
setToolTipText
(
“Class ID Number”
);

        jTextField1
.
setToolTipText
(
“Room number.”
);

        jTextField2
.
setToolTipText
(
“Class Name”
);

        jTextField3
.
setToolTipText
(
“Class ID Number”
);

        jButton1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton1
.
setText
(
“Save”
);

        jButton1
.
setToolTipText
(
“Save”
);

        jButton2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton2
.
setText
(
“Cancel”
);

        jButton2
.
setToolTipText
(
“Cancel”
);

        jButton3
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton3
.
setText
(
“Exit”
);

        jButton3
.
setToolTipText
(
“Exit”
);

        javax
.
swing
.
GroupLayout
 layout 
=
 
new
 javax
.
swing
.
GroupLayout
(
this
);

        
this
.
setLayout
(
layout
);

        layout
.
setHorizontalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
153
,
 
153
,
 
153
)

                        
.
addComponent
(
jLabel1
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
31
,
 
31
,
 
31
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                                    
.
addComponent
(
jLabel2
)

                                    
.
addComponent
(
jLabel3
))

                                
.
addGap
(
38
,
 
38
,
 
38
)

                                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                                    
.
addComponent
(
jTextField2
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
159
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                    
.
addComponent
(
jTextField1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
84
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)))

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
)

                                    
.
addComponent
(
jButton1
)

                                    
.
addComponent
(
jLabel4
))

                                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                                    
.
addGroup
(
layout
.
createSequentialGroup
()

                                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
UNRELATED
)

                                        
.
addComponent
(
jTextField3
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
84
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                                    
.
addGroup
(
layout
.
createSequentialGroup
()

                                        
.
addGap
(
34
,
 
34
,
 
34
)

                                        
.
addComponent
(
jButton2
)

                                        
.
addGap
(
38
,
 
38
,
 
38
)

                                        
.
addComponent
(
jButton3
)))))

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)))

                
.
addContainerGap
(
89
,
 
Short
.
MAX_VALUE
))

        
);

        layout
.
setVerticalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addContainerGap
()

                
.
addComponent
(
jLabel1
)

                
.
addGap
(
40
,
 
40
,
 
40
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel2
)

                    
.
addComponent
(
jTextField1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel3
)

                    
.
addComponent
(
jTextField2
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel4
)

                    
.
addComponent
(
jTextField3
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
,
 
114
,
 
Short
.
MAX_VALUE
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jButton1
)

                    
.
addComponent
(
jButton2
)

                    
.
addComponent
(
jButton3
))

                
.
addGap
(
23
,
 
23
,
 
23
))

        
);

    
}
// //GEN-END:initComponents

    
// Variables declaration – do not modify//GEN-BEGIN:variables

    
private
 javax
.
swing
.
JButton
 jButton1
;

    
private
 javax
.
swing
.
JButton
 jButton2
;

    
private
 javax
.
swing
.
JButton
 jButton3
;

    
private
 javax
.
swing
.
JLabel
 jLabel1
;

    
private
 javax
.
swing
.
JLabel
 jLabel2
;

    
private
 javax
.
swing
.
JLabel
 jLabel3
;

    
private
 javax
.
swing
.
JLabel
 jLabel4
;

    
private
 javax
.
swing
.
JTextField
 jTextField1
;

    
private
 javax
.
swing
.
JTextField
 jTextField2
;

    
private
 javax
.
swing
.
JTextField
 jTextField3
;

    
// End of variables declaration//GEN-END:variables

}

WilliamStearman_Java301/src/Menus/AddClassroom.form

WilliamStearman_Java301/src/Menus/AddClassroom.java
WilliamStearman_Java301/src/Menus/AddClassroom.java
/*

 * To change this template, choose Tools | Templates

 * and open the template in the editor.

 */

/*

 * AddClassroom.java

 *

 * Created on Oct 6, 2013, 6:59:00 PM

 */

package
 
Menus
;

/**

 *

 * 
@author
 Bear

 */

public
 
class
 
AddClassroom
 
extends
 javax
.
swing
.
JPanel
 
{

    
/** Creates new form AddClassroom */

    
public
 
AddClassroom
()
 
{

        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.

     */

    @
SuppressWarnings
(
“unchecked”
)

    
// //GEN-BEGIN:initComponents

    
private
 
void
 initComponents
()
 
{

        buttonGroup1 
=
 
new
 javax
.
swing
.
ButtonGroup
();

        buttonGroup2 
=
 
new
 javax
.
swing
.
ButtonGroup
();

        jLabel1 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel2 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField1 
=
 
new
 javax
.
swing
.
JTextField
();

        jLabel3 
=
 
new
 javax
.
swing
.
JLabel
();

        jRadioButton1 
=
 
new
 javax
.
swing
.
JRadioButton
();

        jRadioButton2 
=
 
new
 javax
.
swing
.
JRadioButton
();

        jRadioButton3 
=
 
new
 javax
.
swing
.
JRadioButton
();

        jButton1 
=
 
new
 javax
.
swing
.
JButton
();

        jButton2 
=
 
new
 javax
.
swing
.
JButton
();

        jButton3 
=
 
new
 javax
.
swing
.
JButton
();

        jLabel1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
1
,
 
14
));
 
// NOI18N

        jLabel1
.
setHorizontalAlignment
(
javax
.
swing
.
SwingConstants
.
CENTER
);

        jLabel1
.
setText
(
“Add Classroom”
);

        jLabel2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel2
.
setText
(
“Room Number”
);

        jLabel2
.
setToolTipText
(
“Room Number”
);

        jTextField1
.
setToolTipText
(
“Room Number”
);

        jLabel3
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel3
.
setText
(
“Class Status”
);

        jLabel3
.
setToolTipText
(
“Class Status”
);

        buttonGroup2
.
add
(
jRadioButton1
);

        jRadioButton1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jRadioButton1
.
setText
(
“Lab”
);

        jRadioButton1
.
setToolTipText
(
“Lab”
);

        buttonGroup2
.
add
(
jRadioButton2
);

        jRadioButton2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jRadioButton2
.
setText
(
“Classroom”
);

        jRadioButton2
.
setToolTipText
(
“Classroom”
);

        buttonGroup2
.
add
(
jRadioButton3
);

        jRadioButton3
.
setText
(
“Lecture Hall”
);

        jRadioButton3
.
setToolTipText
(
“Lecture Hall”
);

        jButton1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton1
.
setText
(
“Save”
);

        jButton1
.
setToolTipText
(
“Save”
);

        jButton2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton2
.
setText
(
“Cancel”
);

        jButton2
.
setToolTipText
(
“Cancel”
);

        jButton3
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton3
.
setText
(
“Exit”
);

        jButton3
.
setToolTipText
(
“Exit”
);

        javax
.
swing
.
GroupLayout
 layout 
=
 
new
 javax
.
swing
.
GroupLayout
(
this
);

        
this
.
setLayout
(
layout
);

        layout
.
setHorizontalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
142
,
 
142
,
 
142
)

                        
.
addComponent
(
jLabel1
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
21
,
 
21
,
 
21
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addComponent
(
jLabel2
)

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                
.
addComponent
(
jTextField1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
109
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addComponent
(
jLabel3
)

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
UNRELATED
)

                                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                                    
.
addComponent
(
jRadioButton1
)

                                    
.
addComponent
(
jRadioButton2
)

                                    
.
addComponent
(
jRadioButton3
)))))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
67
,
 
67
,
 
67
)

                        
.
addComponent
(
jButton1
)

                        
.
addGap
(
33
,
 
33
,
 
33
)

                        
.
addComponent
(
jButton2
)

                        
.
addGap
(
41
,
 
41
,
 
41
)

                        
.
addComponent
(
jButton3
)))

                
.
addContainerGap
(
80
,
 
Short
.
MAX_VALUE
))

        
);

        layout
.
setVerticalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addContainerGap
()

                
.
addComponent
(
jLabel1
)

                
.
addGap
(
27
,
 
27
,
 
27
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel2
)

                    
.
addComponent
(
jTextField1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addGap
(
26
,
 
26
,
 
26
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel3
)

                    
.
addComponent
(
jRadioButton1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
23
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addComponent
(
jRadioButton2
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addComponent
(
jRadioButton3
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
,
 
80
,
 
Short
.
MAX_VALUE
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jButton3
)

                    
.
addComponent
(
jButton2
)

                    
.
addComponent
(
jButton1
))

                
.
addGap
(
27
,
 
27
,
 
27
))

        
);

    
}
// //GEN-END:initComponents

    
// Variables declaration – do not modify//GEN-BEGIN:variables

    
private
 javax
.
swing
.
ButtonGroup
 buttonGroup1
;

    
private
 javax
.
swing
.
ButtonGroup
 buttonGroup2
;

    
private
 javax
.
swing
.
JButton
 jButton1
;

    
private
 javax
.
swing
.
JButton
 jButton2
;

    
private
 javax
.
swing
.
JButton
 jButton3
;

    
private
 javax
.
swing
.
JLabel
 jLabel1
;

    
private
 javax
.
swing
.
JLabel
 jLabel2
;

    
private
 javax
.
swing
.
JLabel
 jLabel3
;

    
private
 javax
.
swing
.
JRadioButton
 jRadioButton1
;

    
private
 javax
.
swing
.
JRadioButton
 jRadioButton2
;

    
private
 javax
.
swing
.
JRadioButton
 jRadioButton3
;

    
private
 javax
.
swing
.
JTextField
 jTextField1
;

    
// End of variables declaration//GEN-END:variables

}

WilliamStearman_Java301/src/Menus/AddFaculty.form

WilliamStearman_Java301/src/Menus/AddFaculty.java
WilliamStearman_Java301/src/Menus/AddFaculty.java
/*

 * To change this template, choose Tools | Templates

 * and open the template in the editor.

 */

/*

 * AddFaculty.java

 *

 * Created on Oct 6, 2013, 3:21:22 PM

 */

package
 
Menus
;

/**

 *

 * 
@author
 Bear

 */

public
 
class
 
AddFaculty
 
extends
 javax
.
swing
.
JPanel
 
{

    
/** Creates new form AddFaculty */

    
public
 
AddFaculty
()
 
{

        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.

     */

    @
SuppressWarnings
(
“unchecked”
)

    
// //GEN-BEGIN:initComponents

    
private
 
void
 initComponents
()
 
{

        jMenuBar1 
=
 
new
 javax
.
swing
.
JMenuBar
();

        jMenu1 
=
 
new
 javax
.
swing
.
JMenu
();

        jMenu2 
=
 
new
 javax
.
swing
.
JMenu
();

        buttonGroup1 
=
 
new
 javax
.
swing
.
ButtonGroup
();

        jPanel1 
=
 
new
 javax
.
swing
.
JPanel
();

        jTextField1 
=
 
new
 javax
.
swing
.
JTextField
();

        jLabel1 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel2 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel3 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField2 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField3 
=
 
new
 javax
.
swing
.
JTextField
();

        jLabel4 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel5 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField4 
=
 
new
 javax
.
swing
.
JTextField
();

        jLabel6 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField5 
=
 
new
 javax
.
swing
.
JTextField
();

        jLabel7 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField6 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField7 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField8 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField9 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField10 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField11 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField12 
=
 
new
 javax
.
swing
.
JTextField
();

        jLabel8 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField13 
=
 
new
 javax
.
swing
.
JTextField
();

        jRadioButton1 
=
 
new
 javax
.
swing
.
JRadioButton
();

        jRadioButton2 
=
 
new
 javax
.
swing
.
JRadioButton
();

        jLabel9 
=
 
new
 javax
.
swing
.
JLabel
();

        jButton1 
=
 
new
 javax
.
swing
.
JButton
();

        jButton2 
=
 
new
 javax
.
swing
.
JButton
();

        jButton3 
=
 
new
 javax
.
swing
.
JButton
();

        jLabel10 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField14 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField15 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField16 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField17 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField18 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField19 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField20 
=
 
new
 javax
.
swing
.
JTextField
();

        jMenuBar1
.
setToolTipText
(
“”
);

        jMenuBar1
.
setName
(
“”
);
 
// NOI18N

        jMenu1
.
setText
(
“File”
);

        jMenuBar1
.
add
(
jMenu1
);

        jMenu2
.
setText
(
“Edit”
);

        jMenuBar1
.
add
(
jMenu2
);

        javax
.
swing
.
GroupLayout
 jPanel1Layout 
=
 
new
 javax
.
swing
.
GroupLayout
(
jPanel1
);

        jPanel1
.
setLayout
(
jPanel1Layout
);

        jPanel1Layout
.
setHorizontalGroup
(

            jPanel1Layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGap
(
0
,
 
102
,
 
Short
.
MAX_VALUE
)

        
);

        jPanel1Layout
.
setVerticalGroup
(

            jPanel1Layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGap
(
0
,
 
37
,
 
Short
.
MAX_VALUE
)

        
);

        jTextField1
.
setToolTipText
(
“Name”
);

        jLabel1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
1
,
 
14
));
 
// NOI18N

        jLabel1
.
setHorizontalAlignment
(
javax
.
swing
.
SwingConstants
.
CENTER
);

        jLabel1
.
setText
(
“Add Faculty”
);

        jLabel1
.
setName
(
“AddFaculty”
);
 
// NOI18N

        jLabel2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jLabel2
.
setText
(
“Name”
);

        jLabel3
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jLabel3
.
setText
(
“Address”
);

        jTextField2
.
setToolTipText
(
“Address”
);

        jTextField3
.
setToolTipText
(
“SSN”
);

        jLabel4
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jLabel4
.
setText
(
“SSN #”
);

        jLabel5
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jLabel5
.
setText
(
“D.O.B.”
);

        jTextField4
.
setText
(
“mm”
);

        jLabel6
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jLabel6
.
setText
(
“Date of Hire”
);

        jTextField5
.
setText
(
“mm”
);

        jLabel7
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jLabel7
.
setText
(
“Date of Term.”
);

        jTextField6
.
setText
(
“mm”
);

        jTextField7
.
setText
(
“dd”
);

        jTextField8
.
setText
(
“yyyy”
);

        jTextField9
.
setText
(
“dd”
);

        jTextField10
.
setText
(
“yyyy”
);

        jTextField11
.
setText
(
“dd”
);

        jTextField12
.
setText
(
“yyyy”
);

        jLabel8
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jLabel8
.
setText
(
“Salary”
);

        buttonGroup1
.
add
(
jRadioButton1
);

        jRadioButton1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jRadioButton1
.
setText
(
“Full Time”
);

        jRadioButton1
.
setToolTipText
(
“Full Time”
);

        buttonGroup1
.
add
(
jRadioButton2
);

        jRadioButton2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jRadioButton2
.
setText
(
“Part Time”
);

        jLabel9
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jLabel9
.
setText
(
“Status”
);

        jButton1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jButton1
.
setText
(
“Save”
);

        jButton2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jButton2
.
setText
(
“Cancel”
);

        jButton3
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jButton3
.
setText
(
“Exit”
);

        jLabel10
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));

        jLabel10
.
setText
(
“Classes”
);

        jTextField14
.
setToolTipText
(
“Classes”
);

        jTextField15
.
setToolTipText
(
“Classes”
);

        jTextField16
.
setToolTipText
(
“Classes”
);

        jTextField17
.
setToolTipText
(
“Classes”
);

        jTextField18
.
setToolTipText
(
“Classes”
);

        jTextField19
.
setToolTipText
(
“Classes”
);

        jTextField20
.
setToolTipText
(
“Classes”
);

        javax
.
swing
.
GroupLayout
 layout 
=
 
new
 javax
.
swing
.
GroupLayout
(
this
);

        
this
.
setLayout
(
layout
);

        layout
.
setHorizontalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addComponent
(
jPanel1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                
.
addGap
(
70
,
 
70
,
 
70
)

                
.
addComponent
(
jLabel1
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
174
,
 
Short
.
MAX_VALUE
)

                
.
addGap
(
205
,
 
205
,
 
205
))

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGap
(
135
,
 
135
,
 
135
)

                
.
addComponent
(
jButton1
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addComponent
(
jButton2
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addComponent
(
jButton3
)

                
.
addContainerGap
(
225
,
 
Short
.
MAX_VALUE
))

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addContainerGap
()

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                            
.
addComponent
(
jLabel2
)

                            
.
addComponent
(
jLabel3
)

                            
.
addComponent
(
jLabel4
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
49
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                            
.
addComponent
(
jLabel6
)

                            
.
addComponent
(
jLabel9
))

                        
.
addGap
(
1
,
 
1
,
 
1
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                            
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
,
 
false
)

                                
.
addComponent
(
jTextField2
)

                                
.
addComponent
(
jTextField1
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
204
,
 
Short
.
MAX_VALUE
))

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addComponent
(
jTextField3
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
102
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                
.
addComponent
(
jLabel5
)

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                
.
addComponent
(
jTextField4
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
35
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                
.
addComponent
(
jTextField7
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
27
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                
.
addComponent
(
jTextField8
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
38
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addGap
(
3
,
 
3
,
 
3
)

                                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                                    
.
addComponent
(
jTextField13
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
87
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                    
.
addGroup
(
layout
.
createSequentialGroup
()

                                        
.
addComponent
(
jTextField5
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
24
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                        
.
addComponent
(
jTextField11
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
20
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                        
.
addComponent
(
jTextField12
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
39
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                        
.
addGap
(
16
,
 
16
,
 
16
)

                                        
.
addComponent
(
jLabel7
)

                                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                        
.
addComponent
(
jTextField6
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                        
.
addComponent
(
jTextField9
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
27
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                        
.
addComponent
(
jTextField10
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
40
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                                    
.
addGroup
(
layout
.
createSequentialGroup
()

                                        
.
addComponent
(
jRadioButton1
)

                                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                        
.
addComponent
(
jRadioButton2
))))))

                    
.
addComponent
(
jLabel8
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
,
 
35
,
 
Short
.
MAX_VALUE
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
,
 
false
)

                    
.
addComponent
(
jTextField20
)

                    
.
addComponent
(
jTextField19
)

                    
.
addComponent
(
jTextField18
)

                    
.
addGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
,
 layout
.
createSequentialGroup
()

                        
.
addComponent
(
jLabel10
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
55
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                        
.
addGap
(
48
,
 
48
,
 
48
))

                    
.
addComponent
(
jTextField14
,
 javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
132
,
 
Short
.
MAX_VALUE
)

                    
.
addComponent
(
jTextField16
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
132
,
 
Short
.
MAX_VALUE
)

                    
.
addComponent
(
jTextField15
,
 javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
)

                    
.
addComponent
(
jTextField17
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
132
,
 
Short
.
MAX_VALUE
))

                
.
addGap
(
10
,
 
10
,
 
10
))

        
);

        layout
.
setVerticalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                            
.
addComponent
(
jPanel1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                            
.
addComponent
(
jLabel1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
28
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                        
.
addGap
(
18
,
 
18
,
 
18
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                            
.
addComponent
(
jTextField1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                            
.
addComponent
(
jLabel2
))

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                            
.
addComponent
(
jLabel3
)

                            
.
addComponent
(
jTextField2
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
UNRELATED
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                            
.
addComponent
(
jTextField3
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                            
.
addComponent
(
jLabel4
)

                            
.
addComponent
(
jLabel5
)

                            
.
addComponent
(
jTextField4
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                            
.
addComponent
(
jTextField7
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                            
.
addComponent
(
jTextField8
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                        
.
addGap
(
42
,
 
42
,
 
42
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                            
.
addComponent
(
jLabel6
)

                            
.
addComponent
(
jTextField5
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                            
.
addComponent
(
jLabel7
)

                            
.
addComponent
(
jTextField6
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                            
.
addComponent
(
jTextField9
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                            
.
addComponent
(
jTextField11
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                            
.
addComponent
(
jTextField10
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                            
.
addComponent
(
jTextField12
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                            
.
addComponent
(
jLabel8
)

                            
.
addComponent
(
jTextField13
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                        
.
addGap
(
18
,
 
18
,
 
18
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
)

                            
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                                
.
addComponent
(
jRadioButton1
)

                                
.
addComponent
(
jRadioButton2
))

                            
.
addComponent
(
jLabel9
))

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
Short
.
MAX_VALUE
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                            
.
addComponent
(
jButton1
)

                            
.
addComponent
(
jButton2
)

                            
.
addComponent
(
jButton3
)))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
43
,
 
43
,
 
43
)

                        
.
addComponent
(
jLabel10
)

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addComponent
(
jTextField14
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addComponent
(
jTextField15
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addComponent
(
jTextField16
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addComponent
(
jTextField17
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addComponent
(
jTextField18
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addComponent
(
jTextField19
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addComponent
(
jTextField20
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)))

                
.
addContainerGap
())

        
);

        jLabel1
.
getAccessibleContext
().
setAccessibleDescription
(
“Faculty”
);

        getAccessibleContext
().
setAccessibleName
(
“”
);

        getAccessibleContext
().
setAccessibleDescription
(
“Add Faculty”
);

    
}
// //GEN-END:initComponents

    
// Variables declaration – do not modify//GEN-BEGIN:variables

    
private
 javax
.
swing
.
ButtonGroup
 buttonGroup1
;

    
private
 javax
.
swing
.
JButton
 jButton1
;

    
private
 javax
.
swing
.
JButton
 jButton2
;

    
private
 javax
.
swing
.
JButton
 jButton3
;

    
private
 javax
.
swing
.
JLabel
 jLabel1
;

    
private
 javax
.
swing
.
JLabel
 jLabel10
;

    
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
.
JLabel
 jLabel8
;

    
private
 javax
.
swing
.
JLabel
 jLabel9
;

    
private
 javax
.
swing
.
JMenu
 jMenu1
;

    
private
 javax
.
swing
.
JMenu
 jMenu2
;

    
private
 javax
.
swing
.
JMenuBar
 jMenuBar1
;

    
private
 javax
.
swing
.
JPanel
 jPanel1
;

    
private
 javax
.
swing
.
JRadioButton
 jRadioButton1
;

    
private
 javax
.
swing
.
JRadioButton
 jRadioButton2
;

    
private
 javax
.
swing
.
JTextField
 jTextField1
;

    
private
 javax
.
swing
.
JTextField
 jTextField10
;

    
private
 javax
.
swing
.
JTextField
 jTextField11
;

    
private
 javax
.
swing
.
JTextField
 jTextField12
;

    
private
 javax
.
swing
.
JTextField
 jTextField13
;

    
private
 javax
.
swing
.
JTextField
 jTextField14
;

    
private
 javax
.
swing
.
JTextField
 jTextField15
;

    
private
 javax
.
swing
.
JTextField
 jTextField16
;

    
private
 javax
.
swing
.
JTextField
 jTextField17
;

    
private
 javax
.
swing
.
JTextField
 jTextField18
;

    
private
 javax
.
swing
.
JTextField
 jTextField19
;

    
private
 javax
.
swing
.
JTextField
 jTextField2
;

    
private
 javax
.
swing
.
JTextField
 jTextField20
;

    
private
 javax
.
swing
.
JTextField
 jTextField3
;

    
private
 javax
.
swing
.
JTextField
 jTextField4
;

    
private
 javax
.
swing
.
JTextField
 jTextField5
;

    
private
 javax
.
swing
.
JTextField
 jTextField6
;

    
private
 javax
.
swing
.
JTextField
 jTextField7
;

    
private
 javax
.
swing
.
JTextField
 jTextField8
;

    
private
 javax
.
swing
.
JTextField
 jTextField9
;

    
// End of variables declaration//GEN-END:variables

}

WilliamStearman_Java301/src/Menus/AddStudent.form

WilliamStearman_Java301/src/Menus/AddStudent.java
WilliamStearman_Java301/src/Menus/AddStudent.java
/*

 * To change this template, choose Tools | Templates

 * and open the template in the editor.

 */

/*

 * AddStudent.java

 *

 * Created on Oct 6, 2013, 6:31:34 PM

 */

package
 
Menus
;

/**

 *

 * 
@author
 Bear

 */

public
 
class
 
AddStudent
 
extends
 javax
.
swing
.
JPanel
 
{

    
/** Creates new form AddStudent */

    
public
 
AddStudent
()
 
{

        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.

     */

    @
SuppressWarnings
(
“unchecked”
)

    
// //GEN-BEGIN:initComponents

    
private
 
void
 initComponents
()
 
{

        jLabel1 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel2 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel3 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel4 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField1 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField2 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField3 
=
 
new
 javax
.
swing
.
JTextField
();

        jLabel5 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField4 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField5 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField6 
=
 
new
 javax
.
swing
.
JTextField
();

        jLabel6 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField7 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField8 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField9 
=
 
new
 javax
.
swing
.
JTextField
();

        jLabel7 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField10 
=
 
new
 javax
.
swing
.
JTextField
();

        jLabel8 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField11 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField12 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField13 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField14 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField15 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField16 
=
 
new
 javax
.
swing
.
JTextField
();

        jButton1 
=
 
new
 javax
.
swing
.
JButton
();

        jButton2 
=
 
new
 javax
.
swing
.
JButton
();

        jButton3 
=
 
new
 javax
.
swing
.
JButton
();

        jTextField17 
=
 
new
 javax
.
swing
.
JTextField
();

        jTextField18 
=
 
new
 javax
.
swing
.
JTextField
();

        jLabel1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
1
,
 
14
));
 
// NOI18N

        jLabel1
.
setHorizontalAlignment
(
javax
.
swing
.
SwingConstants
.
CENTER
);

        jLabel1
.
setText
(
“Add Student”
);

        jLabel2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel2
.
setText
(
“Name”
);

        jLabel3
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel3
.
setText
(
“Address”
);

        jLabel4
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel4
.
setText
(
“SSN #”
);

        jLabel4
.
setToolTipText
(
“SSN”
);

        jTextField1
.
setEditable
(
false
);

        jTextField1
.
setToolTipText
(
“Name”
);

        jTextField2
.
setToolTipText
(
“Address”
);

        jTextField3
.
setToolTipText
(
“SSN #”
);

        jLabel5
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel5
.
setText
(
“D.O.B.”
);

        jLabel5
.
setToolTipText
(
“Date of birth”
);

        jTextField4
.
setText
(
“mm”
);

        jTextField4
.
setToolTipText
(
“Month”
);

        jTextField5
.
setText
(
“dd”
);

        jTextField5
.
setToolTipText
(
“Day”
);

        jTextField6
.
setText
(
“yyyy”
);

        jTextField6
.
setToolTipText
(
“Year”
);

        jLabel6
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel6
.
setText
(
“Date of Graduation”
);

        jLabel6
.
setToolTipText
(
“Date of graduation.”
);

        jTextField7
.
setText
(
“mm”
);

        jTextField7
.
setToolTipText
(
“Month”
);

        jTextField8
.
setText
(
“dd”
);

        jTextField8
.
setToolTipText
(
“Day”
);

        jTextField9
.
setText
(
“yyyy”
);

        jTextField9
.
setToolTipText
(
“Year”
);

        jLabel7
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel7
.
setText
(
“Current G.P.A.”
);

        jLabel7
.
setToolTipText
(
“Current GPA”
);

        jTextField10
.
setToolTipText
(
“GPA”
);

        jLabel8
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel8
.
setText
(
“Classes”
);

        jTextField11
.
setToolTipText
(
“Classes”
);

        jTextField12
.
setToolTipText
(
“Classes”
);

        jTextField13
.
setToolTipText
(
“Classes”
);

        jTextField14
.
setToolTipText
(
“Classes”
);

        jTextField15
.
setToolTipText
(
“Classes”
);

        jTextField16
.
setToolTipText
(
“Classes”
);

        jButton1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton1
.
setText
(
“Save”
);

        jButton1
.
setToolTipText
(
“Save”
);

        jButton2
.
setText
(
“Cancel”
);

        jButton2
.
setToolTipText
(
“Cancel”
);

        jButton3
.
setText
(
“Exit”
);

        jButton3
.
setToolTipText
(
“Exit”
);

        jTextField17
.
setToolTipText
(
“Classes”
);

        jTextField18
.
setToolTipText
(
“Classes”
);

        javax
.
swing
.
GroupLayout
 layout 
=
 
new
 javax
.
swing
.
GroupLayout
(
this
);

        
this
.
setLayout
(
layout
);

        layout
.
setHorizontalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
,
 
false
)

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addGap
(
153
,
 
153
,
 
153
)

                                
.
addComponent
(
jLabel1
))

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addContainerGap
()

                                
.
addComponent
(
jLabel2
)

                                
.
addGap
(
28
,
 
28
,
 
28
)

                                
.
addComponent
(
jTextField1
))

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addContainerGap
()

                                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                                    
.
addComponent
(
jLabel3
)

                                    
.
addComponent
(
jLabel4
))

                                
.
addGap
(
18
,
 
18
,
 
18
)

                                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                                    
.
addGroup
(
layout
.
createSequentialGroup
()

                                        
.
addComponent
(
jTextField3
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
100
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
UNRELATED
)

                                        
.
addComponent
(
jLabel5
)

                                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                        
.
addComponent
(
jTextField4
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
26
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                                    
.
addComponent
(
jTextField2
))))

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addComponent
(
jTextField5
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
26
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addComponent
(
jTextField6
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
43
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addContainerGap
()

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
,
 
false
)

                            
.
addGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
,
 layout
.
createSequentialGroup
()

                                
.
addComponent
(
jLabel7
)

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                
.
addComponent
(
jTextField10
))

                            
.
addGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
,
 layout
.
createSequentialGroup
()

                                
.
addComponent
(
jLabel6
)

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                
.
addComponent
(
jTextField7
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
32
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                            
.
addGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
,
 layout
.
createSequentialGroup
()

                                
.
addComponent
(
jLabel8
)

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                                    
.
addComponent
(
jTextField14
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
99
,
 
Short
.
MAX_VALUE
)

                                    
.
addComponent
(
jTextField11
)

                                    
.
addComponent
(
jButton1
)

                                    
.
addComponent
(
jTextField17
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
99
,
 
Short
.
MAX_VALUE
))))

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addComponent
(
jTextField8
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
29
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                
.
addComponent
(
jTextField9
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
43
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addComponent
(
jButton2
)

                                
.
addGap
(
36
,
 
36
,
 
36
)

                                
.
addComponent
(
jButton3
))

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
,
 
false
)

                                    
.
addComponent
(
jTextField18
,
 javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                                    
.
addComponent
(
jTextField15
,
 javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                                    
.
addComponent
(
jTextField12
,
 javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
110
,
 
Short
.
MAX_VALUE
))

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                                    
.
addComponent
(
jTextField16
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
118
,
 
Short
.
MAX_VALUE
)

                                    
.
addComponent
(
jTextField13
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
118
,
 
Short
.
MAX_VALUE
))))))

                
.
addContainerGap
())

        
);

        layout
.
setVerticalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addContainerGap
()

                
.
addComponent
(
jLabel1
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel2
)

                    
.
addComponent
(
jTextField1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel3
)

                    
.
addComponent
(
jTextField2
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel4
)

                    
.
addComponent
(
jTextField3
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                    
.
addComponent
(
jLabel5
)

                    
.
addComponent
(
jTextField4
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                    
.
addComponent
(
jTextField5
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                    
.
addComponent
(
jTextField6
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
UNRELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel6
)

                    
.
addComponent
(
jTextField7
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                    
.
addComponent
(
jTextField8
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                    
.
addComponent
(
jTextField9
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
UNRELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel7
)

                    
.
addComponent
(
jTextField10
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
UNRELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                    
.
addComponent
(
jLabel8
)

                    
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                        
.
addComponent
(
jTextField11
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                        
.
addComponent
(
jTextField12
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                        
.
addComponent
(
jTextField13
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jTextField14
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                    
.
addComponent
(
jTextField15
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                    
.
addComponent
(
jTextField16
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jTextField17
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                    
.
addComponent
(
jTextField18
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
,
 
14
,
 
Short
.
MAX_VALUE
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jButton1
)

                    
.
addComponent
(
jButton2
)

                    
.
addComponent
(
jButton3
))

                
.
addContainerGap
())

        
);

    
}
// //GEN-END:initComponents

    
// Variables declaration – do not modify//GEN-BEGIN:variables

    
private
 javax
.
swing
.
JButton
 jButton1
;

    
private
 javax
.
swing
.
JButton
 jButton2
;

    
private
 javax
.
swing
.
JButton
 jButton3
;

    
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
.
JLabel
 jLabel8
;

    
private
 javax
.
swing
.
JTextField
 jTextField1
;

    
private
 javax
.
swing
.
JTextField
 jTextField10
;

    
private
 javax
.
swing
.
JTextField
 jTextField11
;

    
private
 javax
.
swing
.
JTextField
 jTextField12
;

    
private
 javax
.
swing
.
JTextField
 jTextField13
;

    
private
 javax
.
swing
.
JTextField
 jTextField14
;

    
private
 javax
.
swing
.
JTextField
 jTextField15
;

    
private
 javax
.
swing
.
JTextField
 jTextField16
;

    
private
 javax
.
swing
.
JTextField
 jTextField17
;

    
private
 javax
.
swing
.
JTextField
 jTextField18
;

    
private
 javax
.
swing
.
JTextField
 jTextField2
;

    
private
 javax
.
swing
.
JTextField
 jTextField3
;

    
private
 javax
.
swing
.
JTextField
 jTextField4
;

    
private
 javax
.
swing
.
JTextField
 jTextField5
;

    
private
 javax
.
swing
.
JTextField
 jTextField6
;

    
private
 javax
.
swing
.
JTextField
 jTextField7
;

    
private
 javax
.
swing
.
JTextField
 jTextField8
;

    
private
 javax
.
swing
.
JTextField
 jTextField9
;

    
// End of variables declaration//GEN-END:variables

}

WilliamStearman_Java301/src/Menus/HelpWindow.form

WilliamStearman_Java301/src/Menus/HelpWindow.java
WilliamStearman_Java301/src/Menus/HelpWindow.java
/*

 * To change this template, choose Tools | Templates

 * and open the template in the editor.

 */

/*

 * HelpWindow.java

 *

 * Created on Oct 6, 2013, 7:46:31 PM

 */

package
 
Menus
;

/**

 *

 * 
@author
 Bear

 */

public
 
class
 
HelpWindow
 
extends
 javax
.
swing
.
JPanel
 
{

    
/** Creates new form HelpWindow */

    
public
 
HelpWindow
()
 
{

        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.

     */

    @
SuppressWarnings
(
“unchecked”
)

    
// //GEN-BEGIN:initComponents

    
private
 
void
 initComponents
()
 
{

        jLabel1 
=
 
new
 javax
.
swing
.
JLabel
();

        jScrollPane1 
=
 
new
 javax
.
swing
.
JScrollPane
();

        jList1 
=
 
new
 javax
.
swing
.
JList
();

        jLabel1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
1
,
 
14
));
 
// NOI18N

        jLabel1
.
setHorizontalAlignment
(
javax
.
swing
.
SwingConstants
.
CENTER
);

        jLabel1
.
setText
(
“Help Topics”
);

        jLabel1
.
setToolTipText
(
“Help Topics”
);

        jScrollPane1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jList1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jList1
.
setModel
(
new
 javax
.
swing
.
AbstractListModel
()
 
{

            
String
[]
 strings 
=
 
{
 
“Faculty Help”
,
 
“Student Help”
,
 
“Class Help”
,
 
“Classroom Help”
 
};

            
public
 
int
 getSize
()
 
{
 
return
 strings
.
length
;
 
}

            
public
 
Object
 getElementAt
(
int
 i
)
 
{
 
return
 strings
[
i
];
 
}

        
});

        jScrollPane1
.
setViewportView
(
jList1
);

        jList1
.
getAccessibleContext
().
setAccessibleName
(
“Faculty Help”
);

        javax
.
swing
.
GroupLayout
 layout 
=
 
new
 javax
.
swing
.
GroupLayout
(
this
);

        
this
.
setLayout
(
layout
);

        layout
.
setHorizontalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
159
,
 
159
,
 
159
)

                        
.
addComponent
(
jLabel1
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
18
,
 
18
,
 
18
)

                        
.
addComponent
(
jScrollPane1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
98
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)))

                
.
addContainerGap
(
162
,
 
Short
.
MAX_VALUE
))

        
);

        layout
.
setVerticalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addComponent
(
jLabel1
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addComponent
(
jScrollPane1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)

                
.
addContainerGap
(
139
,
 
Short
.
MAX_VALUE
))

        
);

        jScrollPane1
.
getAccessibleContext
().
setAccessibleName
(
“Help Topics”
);

    
}
// //GEN-END:initComponents

    
// Variables declaration – do not modify//GEN-BEGIN:variables

    
private
 javax
.
swing
.
JLabel
 jLabel1
;

    
private
 javax
.
swing
.
JList
 jList1
;

    
private
 javax
.
swing
.
JScrollPane
 jScrollPane1
;

    
// End of variables declaration//GEN-END:variables

}

WilliamStearman_Java301/src/Menus/Home.form

WilliamStearman_Java301/src/Menus/Home.java
WilliamStearman_Java301/src/Menus/Home.java
/*

 * To change this template, choose Tools | Templates

 * and open the template in the editor.

 */

/*

 * Home.java

 *

 * Created on Oct 7, 2013, 6:20:04 PM

 */

package
 
Menus
;

/**

 *

 * 
@author
 Bear

 */

public
 
class
 
Home
 
extends
 javax
.
swing
.
JFrame
 
{

    
private
 
static
 
class
 jMenuBar1 
{

        
public
 jMenuBar1
()
 
{

        
}

    
}

    
/** Creates new form Home */

    
public
 
Home
()
 
{

        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.

     */

    @
SuppressWarnings
(
“unchecked”
)

    
// //GEN-BEGIN:initComponents

    
private
 
void
 initComponents
()
 
{

        jLabel1 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel2 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel3 
=
 
new
 javax
.
swing
.
JLabel
();

        jTextField1 
=
 
new
 javax
.
swing
.
JTextField
();

        jPasswordField1 
=
 
new
 javax
.
swing
.
JPasswordField
();

        jMenuBar1 
=
 
new
 javax
.
swing
.
JMenuBarList
 
Classes
();

        jMenu1 
=
 
new
 javax
.
swing
.
JMenu
();

        jMenuItem1 
=
 
new
 javax
.
swing
.
JMenuItem
();

        jMenuItem2 
=
 
new
 javax
.
swing
.
JMenuItem
();

        jMenu2 
=
 
new
 javax
.
swing
.
JMenu
();

        jMenu3 
=
 
new
 javax
.
swing
.
JMenu
();

        jMenuItem3 
=
 
new
 javax
.
swing
.
JMenuItem
();

        jMenuItem4 
=
 
new
 javax
.
swing
.
JMenuItem
();

        jMenu4 
=
 
new
 javax
.
swing
.
JMenu
();

        jMenuItem5 
=
 
new
 javax
.
swing
.
JMenuItem
();

        jMenuItem6 
=
 
new
 javax
.
swing
.
JMenuItem
();

        jMenu5 
=
 
new
 javax
.
swing
.
JMenu
();

        jMenuItem7 
=
 
new
 javax
.
swing
.
JMenuItem
();

        jMenuItem8 
=
 
new
 javax
.
swing
.
JMenuItem
();

        jMenu6 
=
 
new
 javax
.
swing
.
JMenu
();

        setDefaultCloseOperation
(
javax
.
swing
.
WindowConstants
.
EXIT_ON_CLOSE
);

        jLabel1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
1
,
 
14
));
 
// NOI18N

        jLabel1
.
setHorizontalAlignment
(
javax
.
swing
.
SwingConstants
.
CENTER
);

        jLabel1
.
setText
(
“UMASS Database”
);

        jLabel2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel2
.
setText
(
“User Name:”
);

        jLabel3
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel3
.
setText
(
“Password:”
);

        jTextField1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jTextField1
.
setToolTipText
(
“User Name”
);

        jPasswordField1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jPasswordField1
.
setToolTipText
(
“Password”
);

        jMenuBar1
.
setToolTipText
(
“”
);

        jMenuBar1
.
setName
(
“”
);
 
// NOI18N

        jMenu1
.
setText
(
“File”
);

        jMenuItem1
.
setText
(
“Save”
);

        jMenu1
.
add
(
jMenuItem1
);

        jMenuItem2
.
setText
(
“Exit”
);

        jMenu1
.
add
(
jMenuItem2
);

        jMenuBar1
.
add
(
jMenu1
);

        jMenu2
.
setText
(
“Edit”
);

        jMenuBar1
.
add
(
jMenu2
);

        jMenu3
.
setText
(
“Faculty”
);

        jMenuItem3
.
setText
(
“Add Faculty”
);

        jMenu3
.
add
(
jMenuItem3
);

        jMenuItem4
.
setText
(
“List Faculty”
);

        jMenu3
.
add
(
jMenuItem4
);

        jMenuBar1
.
add
(
jMenu3
);

        jMenu4
.
setText
(
“Student”
);

        jMenuItem5
.
setText
(
“Add Student”
);

        jMenu4
.
add
(
jMenuItem5
);

        jMenuItem6
.
setText
(
“List Students”
);

        jMenu4
.
add
(
jMenuItem6
);

        jMenuBar1
.
add
(
jMenu4
);

        jMenu5
.
setText
(
“Class”
);

        jMenuItem7
.
setText
(
“Add Class”
);

        jMenu5
.
add
(
jMenuItem7
);

        jMenuItem8
.
setText
(
“List Classes”
);

        jMenu5
.
add
(
jMenuItem8
);

        jMenuBar1
.
add
(
jMenu5
);

        jMenu6
.
setText
(
“Help”
);

        jMenuBar1
.
add
(
jMenu6
);

        setJMenuBar
(
jMenuBar1
);

        javax
.
swing
.
GroupLayout
 layout 
=
 
new
 javax
.
swing
.
GroupLayout
(
getContentPane
());

        getContentPane
().
setLayout
(
layout
);

        layout
.
setHorizontalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGap
(
36
,
 
36
,
 
36
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
,
 
false
)

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addComponent
(
jLabel3
)

                        
.
addGap
(
18
,
 
18
,
 
18
)

                        
.
addComponent
(
jPasswordField1
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addComponent
(
jLabel2
)

                        
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
UNRELATED
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                            
.
addComponent
(
jLabel1
)

                            
.
addComponent
(
jTextField1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 
150
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))))

                
.
addContainerGap
(
141
,
 
Short
.
MAX_VALUE
))

        
);

        layout
.
setVerticalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGap
(
47
,
 
47
,
 
47
)

                
.
addComponent
(
jLabel1
)

                
.
addGap
(
26
,
 
26
,
 
26
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel2
)

                    
.
addComponent
(
jTextField1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addGap
(
35
,
 
35
,
 
35
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jLabel3
)

                    
.
addComponent
(
jPasswordField1
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))

                
.
addContainerGap
(
112
,
 
Short
.
MAX_VALUE
))

        
);

        pack
();

    
}
// //GEN-END:initComponents

    
/**

     * 
@param
 args the command line arguments

     */

    
public
 
static
 
void
 main
(
String
 args
[])
 
{

        
/* Set the Nimbus look and feel */

        
//

        
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.

         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 

         */

        
try
 
{

            
for
 
(
javax
.
swing
.
UIManager
.
LookAndFeelInfo
 info 
:
 javax
.
swing
.
UIManager
.
getInstalledLookAndFeels
())
 
{

                
if
 
(
“Nimbus”
.
equals
(
info
.
getName
()))
 
{

                    javax
.
swing
.
UIManager
.
setLookAndFeel
(
info
.
getClassName
());

                    
break
;

                
}

            
}

        
}
 
catch
 
(
ClassNotFoundException
 ex
)
 
{

            java
.
util
.
logging
.
Logger
.
getLogger
(
Home
.
class
.
getName
()).
log
(
java
.
util
.
logging
.
Level
.
SEVERE
,
 
null
,
 ex
);

        
}
 
catch
 
(
InstantiationException
 ex
)
 
{

            java
.
util
.
logging
.
Logger
.
getLogger
(
Home
.
class
.
getName
()).
log
(
java
.
util
.
logging
.
Level
.
SEVERE
,
 
null
,
 ex
);

        
}
 
catch
 
(
IllegalAccessException
 ex
)
 
{

            java
.
util
.
logging
.
Logger
.
getLogger
(
Home
.
class
.
getName
()).
log
(
java
.
util
.
logging
.
Level
.
SEVERE
,
 
null
,
 ex
);

        
}
 
catch
 
(
javax
.
swing
.
UnsupportedLookAndFeelException
 ex
)
 
{

            java
.
util
.
logging
.
Logger
.
getLogger
(
Home
.
class
.
getName
()).
log
(
java
.
util
.
logging
.
Level
.
SEVERE
,
 
null
,
 ex
);

        
}

        
//

        
/* Create and display the form */

        java
.
awt
.
EventQueue
.
invokeLater
(
new
 
Runnable
()
 
{

            
public
 
void
 run
()
 
{

                
new
 
Home
().
setVisible
(
true
);

            
}

        
});

    
}

    
// Variables declaration – do not modify//GEN-BEGIN:variables

    
private
 javax
.
swing
.
JLabel
 jLabel1
;

    
private
 javax
.
swing
.
JLabel
 jLabel2
;

    
private
 javax
.
swing
.
JLabel
 jLabel3
;

    
private
 javax
.
swing
.
JMenu
 jMenu1
;

    
private
 javax
.
swing
.
JMenu
 jMenu2
;

    
private
 javax
.
swing
.
JMenu
 jMenu3
;

    
private
 javax
.
swing
.
JMenu
 jMenu4
;

    
private
 javax
.
swing
.
JMenu
 jMenu5
;

    
private
 javax
.
swing
.
JMenu
 jMenu6
;

    
private
 javax
.
swing
.
JMenuBarList
 
Classes
 jMenuBar1
;

    
private
 javax
.
swing
.
JMenuItem
 jMenuItem1
;

    
private
 javax
.
swing
.
JMenuItem
 jMenuItem2
;

    
private
 javax
.
swing
.
JMenuItem
 jMenuItem3
;

    
private
 javax
.
swing
.
JMenuItem
 jMenuItem4
;

    
private
 javax
.
swing
.
JMenuItem
 jMenuItem5
;

    
private
 javax
.
swing
.
JMenuItem
 jMenuItem6
;

    
private
 javax
.
swing
.
JMenuItem
 jMenuItem7
;

    
private
 javax
.
swing
.
JMenuItem
 jMenuItem8
;

    
private
 javax
.
swing
.
JPasswordField
 jPasswordField1
;

    
private
 javax
.
swing
.
JTextField
 jTextField1
;

    
// End of variables declaration//GEN-END:variables

}

WilliamStearman_Java301/src/Menus/ListClasses.form

WilliamStearman_Java301/src/Menus/ListClasses.java
WilliamStearman_Java301/src/Menus/ListClasses.java
/*

 * To change this template, choose Tools | Templates

 * and open the template in the editor.

 */

/*

 * ListClasses.java

 *

 * Created on Oct 6, 2013, 7:43:13 PM

 */

package
 
Menus
;

/**

 *

 * 
@author
 Bear

 */

public
 
class
 
ListClasses
 
extends
 javax
.
swing
.
JPanel
 
{

    
/** Creates new form ListClasses */

    
public
 
ListClasses
()
 
{

        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.

     */

    @
SuppressWarnings
(
“unchecked”
)

    
// //GEN-BEGIN:initComponents

    
private
 
void
 initComponents
()
 
{

        jLabel1 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel2 
=
 
new
 javax
.
swing
.
JLabel
();

        jButton1 
=
 
new
 javax
.
swing
.
JButton
();

        jButton2 
=
 
new
 javax
.
swing
.
JButton
();

        jButton3 
=
 
new
 javax
.
swing
.
JButton
();

        jScrollPane1 
=
 
new
 javax
.
swing
.
JScrollPane
();

        jTextArea1 
=
 
new
 javax
.
swing
.
JTextArea
();

        jLabel1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
1
,
 
14
));
 
// NOI18N

        jLabel1
.
setHorizontalAlignment
(
javax
.
swing
.
SwingConstants
.
CENTER
);

        jLabel1
.
setText
(
“List Classes”
);

        jLabel2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel2
.
setText
(
“Sort by:”
);

        jButton1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton1
.
setText
(
“Room #”
);

        jButton1
.
setToolTipText
(
“Room Number”
);

        jButton2
.
setText
(
“Class ID #”
);

        jButton2
.
setToolTipText
(
“Class ID Number”
);

        jButton3
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton3
.
setText
(
“Class Name”
);

        jButton3
.
setToolTipText
(
“Class name.”
);

        jTextArea1
.
setColumns
(
20
);

        jTextArea1
.
setRows
(
5
);

        jScrollPane1
.
setViewportView
(
jTextArea1
);

        javax
.
swing
.
GroupLayout
 layout 
=
 
new
 javax
.
swing
.
GroupLayout
(
this
);

        
this
.
setLayout
(
layout
);

        layout
.
setHorizontalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
,
 layout
.
createSequentialGroup
()

                
.
addContainerGap
(
262
,
 
Short
.
MAX_VALUE
)

                
.
addComponent
(
jButton3
)

                
.
addGap
(
45
,
 
45
,
 
45
))

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
181
,
 
181
,
 
181
)

                        
.
addComponent
(
jLabel2
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
53
,
 
53
,
 
53
)

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
)

                            
.
addGroup
(
layout
.
createSequentialGroup
()

                                
.
addComponent
(
jButton1
)

                                
.
addGap
(
26
,
 
26
,
 
26
)

                                
.
addComponent
(
jButton2
))

                            
.
addComponent
(
jLabel1
))))

                
.
addContainerGap
(
161
,
 
Short
.
MAX_VALUE
))

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addContainerGap
()

                
.
addComponent
(
jScrollPane1
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
380
,
 
Short
.
MAX_VALUE
)

                
.
addContainerGap
())

        
);

        layout
.
setVerticalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addContainerGap
()

                
.
addComponent
(
jLabel1
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addComponent
(
jLabel2
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jButton3
)

                    
.
addComponent
(
jButton2
)

                    
.
addComponent
(
jButton1
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addComponent
(
jScrollPane1
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
204
,
 
Short
.
MAX_VALUE
)

                
.
addContainerGap
())

        
);

    
}
// //GEN-END:initComponents

    
// Variables declaration – do not modify//GEN-BEGIN:variables

    
private
 javax
.
swing
.
JButton
 jButton1
;

    
private
 javax
.
swing
.
JButton
 jButton2
;

    
private
 javax
.
swing
.
JButton
 jButton3
;

    
private
 javax
.
swing
.
JLabel
 jLabel1
;

    
private
 javax
.
swing
.
JLabel
 jLabel2
;

    
private
 javax
.
swing
.
JScrollPane
 jScrollPane1
;

    
private
 javax
.
swing
.
JTextArea
 jTextArea1
;

    
// End of variables declaration//GEN-END:variables

}

WilliamStearman_Java301/src/Menus/ListClassrooms.form

WilliamStearman_Java301/src/Menus/ListClassrooms.java
WilliamStearman_Java301/src/Menus/ListClassrooms.java
/*

 * To change this template, choose Tools | Templates

 * and open the template in the editor.

 */

/*

 * ListClassrooms.java

 *

 * Created on Oct 6, 2013, 7:40:59 PM

 */

package
 
Menus
;

/**

 *

 * 
@author
 Bear

 */

public
 
class
 
ListClassrooms
 
extends
 javax
.
swing
.
JPanel
 
{

    
/** Creates new form ListClassrooms */

    
public
 
ListClassrooms
()
 
{

        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.

     */

    @
SuppressWarnings
(
“unchecked”
)

    
// //GEN-BEGIN:initComponents

    
private
 
void
 initComponents
()
 
{

        jLabel1 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel2 
=
 
new
 javax
.
swing
.
JLabel
();

        jButton1 
=
 
new
 javax
.
swing
.
JButton
();

        jButton2 
=
 
new
 javax
.
swing
.
JButton
();

        jScrollPane1 
=
 
new
 javax
.
swing
.
JScrollPane
();

        jTextArea1 
=
 
new
 javax
.
swing
.
JTextArea
();

        jLabel1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
1
,
 
14
));
 
// NOI18N

        jLabel1
.
setHorizontalAlignment
(
javax
.
swing
.
SwingConstants
.
CENTER
);

        jLabel1
.
setText
(
“List Classrooms”
);

        jLabel2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel2
.
setText
(
“Sort by:”
);

        jButton1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton1
.
setText
(
“Room Number”
);

        jButton1
.
setToolTipText
(
“Room Number”
);

        jButton2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton2
.
setText
(
“Class Status”
);

        jButton2
.
setToolTipText
(
“Class Status”
);

        jTextArea1
.
setColumns
(
20
);

        jTextArea1
.
setRows
(
5
);

        jScrollPane1
.
setViewportView
(
jTextArea1
);

        javax
.
swing
.
GroupLayout
 layout 
=
 
new
 javax
.
swing
.
GroupLayout
(
this
);

        
this
.
setLayout
(
layout
);

        layout
.
setHorizontalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
130
,
 
130
,
 
130
)

                        
.
addComponent
(
jLabel1
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
155
,
 
155
,
 
155
)

                        
.
addComponent
(
jLabel2
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
56
,
 
56
,
 
56
)

                        
.
addComponent
(
jButton1
)

                        
.
addGap
(
18
,
 
18
,
 
18
)

                        
.
addComponent
(
jButton2
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addContainerGap
()

                        
.
addComponent
(
jScrollPane1
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
380
,
 
Short
.
MAX_VALUE
)))

                
.
addContainerGap
())

        
);

        layout
.
setVerticalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addContainerGap
()

                
.
addComponent
(
jLabel1
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addComponent
(
jLabel2
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jButton1
)

                    
.
addComponent
(
jButton2
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
UNRELATED
)

                
.
addComponent
(
jScrollPane1
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
200
,
 
Short
.
MAX_VALUE
)

                
.
addContainerGap
())

        
);

    
}
// //GEN-END:initComponents

    
// Variables declaration – do not modify//GEN-BEGIN:variables

    
private
 javax
.
swing
.
JButton
 jButton1
;

    
private
 javax
.
swing
.
JButton
 jButton2
;

    
private
 javax
.
swing
.
JLabel
 jLabel1
;

    
private
 javax
.
swing
.
JLabel
 jLabel2
;

    
private
 javax
.
swing
.
JScrollPane
 jScrollPane1
;

    
private
 javax
.
swing
.
JTextArea
 jTextArea1
;

    
// End of variables declaration//GEN-END:variables

}

WilliamStearman_Java301/src/Menus/ListFaculty.form

WilliamStearman_Java301/src/Menus/ListFaculty.java
WilliamStearman_Java301/src/Menus/ListFaculty.java
/*

 * To change this template, choose Tools | Templates

 * and open the template in the editor.

 */

/*

 * ListFaculty.java

 *

 * Created on Oct 6, 2013, 7:35:23 PM

 */

package
 
Menus
;

/**

 *

 * 
@author
 Bear

 */

public
 
class
 
ListFaculty
 
extends
 javax
.
swing
.
JPanel
 
{

    
/** Creates new form ListFaculty */

    
public
 
ListFaculty
()
 
{

        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.

     */

    @
SuppressWarnings
(
“unchecked”
)

    
// //GEN-BEGIN:initComponents

    
private
 
void
 initComponents
()
 
{

        jLabel1 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel2 
=
 
new
 javax
.
swing
.
JLabel
();

        jButton1 
=
 
new
 javax
.
swing
.
JButton
();

        jButton2 
=
 
new
 javax
.
swing
.
JButton
();

        jButton3 
=
 
new
 javax
.
swing
.
JButton
();

        jScrollPane1 
=
 
new
 javax
.
swing
.
JScrollPane
();

        jTextArea1 
=
 
new
 javax
.
swing
.
JTextArea
();

        jLabel1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
1
,
 
14
));
 
// NOI18N

        jLabel1
.
setHorizontalAlignment
(
javax
.
swing
.
SwingConstants
.
CENTER
);

        jLabel1
.
setText
(
“List Faculty”
);

        jLabel1
.
setToolTipText
(
“List Faculty”
);

        jLabel2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel2
.
setText
(
“Sort by:”
);

        jButton1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton1
.
setText
(
“Name”
);

        jButton1
.
setToolTipText
(
“Name”
);

        jButton2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton2
.
setText
(
“Class”
);

        jButton2
.
setToolTipText
(
“Class”
);

        jButton3
.
setText
(
“Status”
);

        jButton3
.
setToolTipText
(
“Status”
);

        jTextArea1
.
setColumns
(
20
);

        jTextArea1
.
setRows
(
5
);

        jScrollPane1
.
setViewportView
(
jTextArea1
);

        javax
.
swing
.
GroupLayout
 layout 
=
 
new
 javax
.
swing
.
GroupLayout
(
this
);

        
this
.
setLayout
(
layout
);

        layout
.
setHorizontalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
151
,
 
151
,
 
151
)

                        
.
addComponent
(
jLabel1
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
,
 
false
)

                            
.
addGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
,
 layout
.
createSequentialGroup
()

                                
.
addGap
(
33
,
 
33
,
 
33
)

                                
.
addComponent
(
jButton1
)

                                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
Short
.
MAX_VALUE
)

                                
.
addComponent
(
jButton2
))

                            
.
addGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
,
 layout
.
createSequentialGroup
()

                                
.
addGap
(
171
,
 
171
,
 
171
)

                                
.
addComponent
(
jLabel2
)))

                        
.
addGap
(
52
,
 
52
,
 
52
)

                        
.
addComponent
(
jButton3
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addContainerGap
()

                        
.
addComponent
(
jScrollPane1
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
380
,
 
Short
.
MAX_VALUE
)))

                
.
addContainerGap
())

        
);

        layout
.
setVerticalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addContainerGap
()

                
.
addComponent
(
jLabel1
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
UNRELATED
)

                
.
addComponent
(
jLabel2
)

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jButton1
)

                    
.
addComponent
(
jButton2
)

                    
.
addComponent
(
jButton3
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addComponent
(
jScrollPane1
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
199
,
 
Short
.
MAX_VALUE
)

                
.
addContainerGap
())

        
);

    
}
// //GEN-END:initComponents

    
// Variables declaration – do not modify//GEN-BEGIN:variables

    
private
 javax
.
swing
.
JButton
 jButton1
;

    
private
 javax
.
swing
.
JButton
 jButton2
;

    
private
 javax
.
swing
.
JButton
 jButton3
;

    
private
 javax
.
swing
.
JLabel
 jLabel1
;

    
private
 javax
.
swing
.
JLabel
 jLabel2
;

    
private
 javax
.
swing
.
JScrollPane
 jScrollPane1
;

    
private
 javax
.
swing
.
JTextArea
 jTextArea1
;

    
// End of variables declaration//GEN-END:variables

}

WilliamStearman_Java301/src/Menus/ListStudents.form

WilliamStearman_Java301/src/Menus/ListStudents.java
WilliamStearman_Java301/src/Menus/ListStudents.java
/*

 * To change this template, choose Tools | Templates

 * and open the template in the editor.

 */

/*

 * ListStudents.java

 *

 * Created on Oct 6, 2013, 7:12:08 PM

 */

package
 
Menus
;

/**

 *

 * 
@author
 Bear

 */

public
 
class
 
ListStudents
 
extends
 javax
.
swing
.
JFrame
 
{

    
/** Creates new form ListStudents */

    
public
 
ListStudents
()
 
{

        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.

     */

    @
SuppressWarnings
(
“unchecked”
)

    
// //GEN-BEGIN:initComponents

    
private
 
void
 initComponents
()
 
{

        jLabel1 
=
 
new
 javax
.
swing
.
JLabel
();

        jLabel2 
=
 
new
 javax
.
swing
.
JLabel
();

        jScrollPane1 
=
 
new
 javax
.
swing
.
JScrollPane
();

        jTextArea1 
=
 
new
 javax
.
swing
.
JTextArea
();

        jButton1 
=
 
new
 javax
.
swing
.
JButton
();

        jButton2 
=
 
new
 javax
.
swing
.
JButton
();

        setDefaultCloseOperation
(
javax
.
swing
.
WindowConstants
.
EXIT_ON_CLOSE
);

        jLabel1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
1
,
 
14
));
 
// NOI18N

        jLabel1
.
setHorizontalAlignment
(
javax
.
swing
.
SwingConstants
.
CENTER
);

        jLabel1
.
setText
(
“List Students”
);

        jLabel1
.
setToolTipText
(
“”
);

        jLabel2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jLabel2
.
setText
(
“Sort by:”
);

        jLabel2
.
setToolTipText
(
“Sort by:”
);

        jTextArea1
.
setColumns
(
20
);

        jTextArea1
.
setRows
(
5
);

        jScrollPane1
.
setViewportView
(
jTextArea1
);

        jButton1
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton1
.
setText
(
“Name”
);

        jButton1
.
setToolTipText
(
“Name”
);

        jButton2
.
setFont
(
new
 java
.
awt
.
Font
(
“Tahoma”
,
 
0
,
 
12
));
 
// NOI18N

        jButton2
.
setText
(
“Class”
);

        jButton2
.
setToolTipText
(
“Class”
);

        javax
.
swing
.
GroupLayout
 layout 
=
 
new
 javax
.
swing
.
GroupLayout
(
getContentPane
());

        getContentPane
().
setLayout
(
layout
);

        layout
.
setHorizontalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addContainerGap
()

                        
.
addComponent
(
jScrollPane1
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
380
,
 
Short
.
MAX_VALUE
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
97
,
 
97
,
 
97
)

                        
.
addComponent
(
jButton1
)

                        
.
addGap
(
53
,
 
53
,
 
53
)

                        
.
addComponent
(
jButton2
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
163
,
 
163
,
 
163
)

                        
.
addComponent
(
jLabel2
)

                        
.
addGap
(
47
,
 
47
,
 
47
))

                    
.
addGroup
(
layout
.
createSequentialGroup
()

                        
.
addGap
(
151
,
 
151
,
 
151
)

                        
.
addComponent
(
jLabel1
)))

                
.
addContainerGap
())

        
);

        layout
.
setVerticalGroup
(

            layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)

            
.
addGroup
(
layout
.
createSequentialGroup
()

                
.
addContainerGap
()

                
.
addComponent
(
jLabel1
)

                
.
addGap
(
11
,
 
11
,
 
11
)

                
.
addComponent
(
jLabel2
)

                
.
addGap
(
16
,
 
16
,
 
16
)

                
.
addGroup
(
layout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
BASELINE
)

                    
.
addComponent
(
jButton1
)

                    
.
addComponent
(
jButton2
))

                
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
)

                
.
addComponent
(
jScrollPane1
,
 javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
 
190
,
 
Short
.
MAX_VALUE
)

                
.
addContainerGap
())

        
);

        pack
();

    
}
// //GEN-END:initComponents

    
/**

     * 
@param
 args the command line arguments

     */

    
public
 
static
 
void
 main
(
String
 args
[])
 
{

        
/* Set the Nimbus look and feel */

        
//

        
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.

         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 

         */

        
try
 
{

            
for
 
(
javax
.
swing
.
UIManager
.
LookAndFeelInfo
 info 
:
 javax
.
swing
.
UIManager
.
getInstalledLookAndFeels
())
 
{

                
if
 
(
“Nimbus”
.
equals
(
info
.
getName
()))
 
{

                    javax
.
swing
.
UIManager
.
setLookAndFeel
(
info
.
getClassName
());

                    
break
;

                
}

            
}

        
}
 
catch
 
(
ClassNotFoundException
 ex
)
 
{

            java
.
util
.
logging
.
Logger
.
getLogger
(
ListStudents
.
class
.
getName
()).
log
(
java
.
util
.
logging
.
Level
.
SEVERE
,
 
null
,
 ex
);

        
}
 
catch
 
(
InstantiationException
 ex
)
 
{

            java
.
util
.
logging
.
Logger
.
getLogger
(
ListStudents
.
class
.
getName
()).
log
(
java
.
util
.
logging
.
Level
.
SEVERE
,
 
null
,
 ex
);

        
}
 
catch
 
(
IllegalAccessException
 ex
)
 
{

            java
.
util
.
logging
.
Logger
.
getLogger
(
ListStudents
.
class
.
getName
()).
log
(
java
.
util
.
logging
.
Level
.
SEVERE
,
 
null
,
 ex
);

        
}
 
catch
 
(
javax
.
swing
.
UnsupportedLookAndFeelException
 ex
)
 
{

            java
.
util
.
logging
.
Logger
.
getLogger
(
ListStudents
.
class
.
getName
()).
log
(
java
.
util
.
logging
.
Level
.
SEVERE
,
 
null
,
 ex
);

        
}

        
//

        
/* Create and display the form */

        java
.
awt
.
EventQueue
.
invokeLater
(
new
 
Runnable
()
 
{

            
public
 
void
 run
()
 
{

                
new
 
ListStudents
().
setVisible
(
true
);

            
}

        
});

    
}

    
// Variables declaration – do not modify//GEN-BEGIN:variables

    
private
 javax
.
swing
.
JButton
 jButton1
;

    
private
 javax
.
swing
.
JButton
 jButton2
;

    
private
 javax
.
swing
.
JLabel
 jLabel1
;

    
private
 javax
.
swing
.
JLabel
 jLabel2
;

    
private
 javax
.
swing
.
JScrollPane
 jScrollPane1
;

    
private
 javax
.
swing
.
JTextArea
 jTextArea1
;

    
// End of variables declaration//GEN-END:variables

}

WilliamStearman_Java301/src/stearman_hierarchy/ClassBase.java
WilliamStearman_Java301/src/stearman_hierarchy/ClassBase.java
/*

 * 

 */

package
 stearman_hierarchy
;

/**

 *

 * 
@author
 W Stearman

 */

public
 
class
 
ClassBase
 
implements
 
IClassBase
 
{

    

    
private
 
float
 classIdNumber
;

    
private
 
String
 className
;

    
private
 
Classroom
 room
;

    

    
//Default constructor

    
public
 
ClassBase
()
 
{

    
}

    

    
//Overloaded const

    
public
 
ClassBase
(
float
 id
,
 
String
 name
,
 
Classroom
 room
)
 
{

        
this
.
classIdNumber 
=
 id
;

        
this
.
className 
=
 name
;

        
this
.
room 
=
 room
;

    
}

    

    
//Overloaded const

    
public
 
ClassBase
(
ClassBase
 newClass
)
 
{

        classIdNumber 
=
 newClass
.
getClassIdNumber
();

        
String
 title 
=
 newClass
.
getClassName
();

        
Classroom
 room 
=
 newClass
.
getClassroom
();

    
}

    

    
//Setters

    
public
 
void
 setClassIdNumber
(
float
 idNumber
)
 
{

        
this
.
classIdNumber 
=
 idNumber
;

    
}

    

    
public
 
void
 setClassName
(
String
 title
)
 
{

        
this
.
className 
=
 title
;

    
}

    

    
public
 
void
 setClassroom
(
Classroom
 room
)
 
{

        
this
.
room 
=
 room
;

    
}

    

    
//Getters

    
public
 
float
 getClassIdNumber
()
 
{

        
return
 
this
.
classIdNumber
;

    
}

    

    
public
 
String
 getClassName
()
 
{

        
return
 
this
.
className
;

    
}

    

    
public
 
Classroom
 getClassroom
()
 
{

        
return
 
this
.
room
;

    
}

    

    
//Format object for printing

    
public
 
String
 toString
()
 
{

      
String
 classData 
=
 
“\n”
 
+
 classIdNumber 
+
 
“\t”
 
+
 className 
+
 
“\t”
 
+

              room
.
toString
();

      
return
 classData
;

   
}
    

}

WilliamStearman_Java301/src/stearman_hierarchy/Classroom.java
WilliamStearman_Java301/src/stearman_hierarchy/Classroom.java
/*

 * 

 */

package
 stearman_hierarchy
;

/**

 *

 * 
@author
 W Stearman

 */

public
 
class
 
Classroom
 
{

    

    
private
 
String
 roomNumber
;

    
private
 
char
 status
;
 
//l – lab, c – classroom, h – lecture hall

    

    
//Default const

    
public
 
Classroom
()
 
{

    
}

    

    
//Oerloaded const

    
public
 
Classroom
(
String
 number
,
 
char
 status
)
 
{

        
this
.
roomNumber 
=
 number
;

        
this
.
status 
=
 status
;

    
}

    

    
//Getters

    
public
 
String
 getRoomNumber
()
 
{

        
return
 
this
.
roomNumber
;

    
}

    

    
public
 
char
 getStatus
()
 
{

        
return
 
this
.
status
;

    
}

    

    
//Setters

    
public
 
void
 setRoomNumber
(
String
 room
)
 
{

        
this
.
roomNumber 
=
 room
;

    
}

    

    
public
 
void
 setStatus
(
char
 status
)
 
{

        
this
.
status 
=
 status
;

    
}

    

    
public
 
String
 toString
()
 
{

        
return
 
(
roomNumber 
+
 
“\t”
 
+
 status 
+
 
“\t”
);

    
}

}

WilliamStearman_Java301/src/stearman_hierarchy/Faculty.java
WilliamStearman_Java301/src/stearman_hierarchy/Faculty.java
/*

 * 

 */

package
 stearman_hierarchy
;

import
 stearman_utilities
.
Logger
;

import
 java
.
text
.
SimpleDateFormat
;

import
 java
.
util
.
ArrayList
;

import
 java
.
util
.
GregorianCalendar
;

import
 java
.
util
.
List
;

public
 
class
 
Faculty
 
extends
 
PersonBase
 
implements
 
IFaculty
 
{

    
private
 
GregorianCalendar
 dateOfHire 
=
 
new
 
GregorianCalendar
();

    
private
 
GregorianCalendar
 dateOfTermination 
=
 
new
 
GregorianCalendar
();

    
private
 
double
 salary
;

    
private
 
char
 status
;
 
// f – fulltime, p – parttime

    
private
 
List
< FacultyClass >
 classes 
=
 
new
 
ArrayList
< FacultyClass >
();

    

    
/** Default constructor */

    
public
 
Faculty
()
 
{

        
Logger
.
logInfo
(
“Faculty created”
);

    
}

    
/** Overloaded constructor */

    
public
 
Faculty
(
String
 name
,
 
String
 address
,
 
String
 ssnum
,

            
GregorianCalendar
 dob
,
 
double
 salary
)
 
{

        
super
(
name
,
 address
,
 ssnum
,
 dob
);

        
this
.
salary 
=
 salary
;

        
Logger
.
logInfo
(
“Faculty created”
);

    
}

    
/** Set date of hire */

    
public
 
void
 setDateOfHire
(
GregorianCalendar
 doh
)
 
{

        
this
.
dateOfHire 
=
 doh
;

    
}

    
/** Set date of hire */

    
public
 
void
 setDateOfHire
(
int
 yyyy
,
 
int
 mm
,
 
int
 dd
)
 
{

        
this
.
dateOfHire 
=
 
new
 
GregorianCalendar
(
yyyy
,
 mm
,
 dd
);

    
}

    

    
/** Set date of termination */

    
public
 
void
 setDateOfTermination
(
GregorianCalendar
 dot
)
 
{

        
this
.
dateOfTermination 
=
 dot
;

    
}

     
/** Set date of termination */

    
public
 
void
 setDateOfTermination
(
int
 yyyy
,
 
int
 mm
,
 
int
 dd
)
 
{

        
// Account for Java date month being off by 1

        mm 
=
 mm 

 
1
;

        
this
.
dateOfTermination 
=
 
new
 
GregorianCalendar
(
yyyy
,
 mm
,
 dd
);

    
}

    

    
/** Set salary */

    
public
 
void
 setSalary
(
double
 salary
)
 
{

        
this
.
salary 
=
 salary
;

    
}

    
public
 
void
 setStatus
(
char
 status
)
 
{

        
this
.
status 
=
 status
;

    
}

    

    
/** Add  a class */

    
public
 
void
 addClass
(
FacultyClass
 singleClass
)
 
{

        
this
.
classes
.
add
(
singleClass
);

    
}

    
/** Add a reference to a list of classes */

    
public
 
void
 addClasses
(
ArrayList
< FacultyClass >
 listOfClasses
)
 
{

        
this
.
classes
.
addAll
(
listOfClasses
);

    
}

    
public
 
char
 getStatus
()
 
{

        
return
 status
;

    
}

    

    
/** Get date of hire */

    
public
 
GregorianCalendar
 getDateOfHire
()
 
{

        
return
 
this
.
dateOfHire
;

    
}

    
/** Get date of termination */

    
public
 
GregorianCalendar
 getDateOfTermination
()
 
{

        
return
 
this
.
dateOfTermination
;

    
}

    
/** Get salary */

    
public
 
double
 getSalary
()
 
{

        
return
 
this
.
salary
;

    
}

    
/** Get list of classes */

    
public
 
List
 getClasses
()
 
{

        
return
 
this
.
classes
;

    
}

    
/** Get a single class */

    
public
 
FacultyClass
 getClass
(
int
 index
)
 
{

        
return
 
this
.
classes
.
get
(
index
);

    
}

    
/** Format the class as a string */

    
public
 
String
 toString
()
 
{

        
SimpleDateFormat
 sdf2 
=
 
new
 
SimpleDateFormat
(
“MM/dd/yyyy”
);

        
return
 
(
“Faculty: ”
 
+
 
super
.
toString
()
 
+
 
” ”

                
+
 
“\nDate of Hire: ”
 
+
 sdf2
.
format
(
this
.
dateOfHire
.
getTime
())

                
+
 
“\nDate of Termination: ”
 
+
 sdf2
.
format
(
this
.
dateOfTermination
.
getTime
())

                
+
 
“\nStatus: ”
 
+
 
this
.
getStatus
()

                
+
 
“\nClasses Taught: ”
 
+
 
this
.
classes
);

    
}
    

   

}

WilliamStearman_Java301/src/stearman_hierarchy/FacultyClass.java
WilliamStearman_Java301/src/stearman_hierarchy/FacultyClass.java
/*

 * 

 */

package
 stearman_hierarchy
;

import
 stearman_utilities
.
Logger
;

import
 java
.
util
.
ArrayList
;

import
 java
.
util
.
List
;

/**

 * 
@author
 W Stearman

 */

public
 
class
 
FacultyClass
 
extends
 
ClassBase
 
{

    
private
 
List
< Student >
 students 
=
 
new
 
ArrayList
< Student >
();

    

    
//Constructors

    
public
 
FacultyClass
()
 
{

            
Logger
.
logInfo
(
“Faculty class created.”
);

    
}

    

    
public
 
FacultyClass
(
Float
 id
,
 
String
 name
,
 
Classroom
 room
)
 
{

      
super
(
id
,
 name
,
 room
);

      
Logger
.
logInfo
(
“FacultyClass created”
);
   

    
}

    
public
 
FacultyClass
(
ClassBase
 newClass
,

            
List
< Student >
 students
)
 
{

        
super
(
newClass
);

        
this
.
students 
=
 students
;

        
Logger
.
logInfo
(
“FacultyClass created”
);

    
}

    

    
//Retreve a list of all students

    
public
 
List
< Student >
 getAllStudents
()
 
{

        
return
 
this
.
students
;

    
}

    

    
//Retireve a single student

    
public
 
Student
 getStudent
(
int
 index
)
 
{

        
return
 students
.
get
(
index
);

    
}

    

    
//Add a single student

    
public
 
void
 addStudent
(
Student
 student
)
 
{

        students
.
add
(
student
);

    
}

    
/** Add an existing collection of students to the member

     *  collection in the FacultyClass instance 

     */

    
public
 
void
 addStudents
(
List
< Student >
 students_in
)
 
{

        
this
.
students
.
addAll
(
students
);

    
}

    
//Format object for printing

    
public
 
String
 toString
()
 
{

      
String
 studentListToString 
=
 
super
.
toString
();

      
for
 
(
Student
 student 
:
 students
)
 
{

        studentListToString 
+=
 
“\n”
 
+
 student
.
getName
();

      
}

      
return
 studentListToString
;

   
}
      

}
    

    

WilliamStearman_Java301/src/stearman_hierarchy/IFaculty.java
WilliamStearman_Java301/src/stearman_hierarchy/IFaculty.java
/*

 * 

 */

package
 stearman_hierarchy
;

import
 java
.
util
.
GregorianCalendar
;

import
 java
.
util
.
List
;

/**

 *

 * 
@author
 W Stearman

 */

public
 
interface
 
IFaculty
 
{

    

    
public
 
void
 setDateOfHire
(
GregorianCalendar
 newDate
);

    
public
 
void
 setDateOfTermination
(
GregorianCalendar
 newDate
);

    
public
 
void
 setSalary
(
double
 salaryIn
);

    
public
 
void
 addClass
(
FacultyClass
 singleClass
);

    
public
 
GregorianCalendar
 getDateOfHire
();

    
public
 
GregorianCalendar
 getDateOfTermination
();

    
public
 
double
 getSalary
();

    
public
 
List
< FacultyClass >
 getClasses
();

    
public
 
FacultyClass
 getClass
(
int
 index
);

    

}

WilliamStearman_Java301/src/stearman_hierarchy/IPerson.java
WilliamStearman_Java301/src/stearman_hierarchy/IPerson.java
/*

 * 

 */

package
 stearman_hierarchy
;

import
 java
.
util
.
GregorianCalendar
;

/**

 *

 * 
@author
 W Stearman

 */

public
 
interface
 
IPerson
 
{

   

   
public
 
String
 getName
();

   
public
 
String
 getAddress
();

   
public
 
String
 getSSN
();

   
public
 
GregorianCalendar
 getDateOfBirth
();

 

   
public
 
void
 setName
(
String
 name
);

   
public
 
void
 setAddress
(
String
 address
);

   
public
 
void
 setSSN
(
String
 ssn
);

   
public
 
void
 setDateOfBirth
(
GregorianCalendar
 dateOfBirth
);
 

    

}

WilliamStearman_Java301/src/stearman_hierarchy/IStudent.java
WilliamStearman_Java301/src/stearman_hierarchy/IStudent.java
/*

 * 

 */

package
 stearman_hierarchy
;

import
 java
.
util
.
GregorianCalendar
;

import
 java
.
util
.
List
;

/**

 * 
@author
 W Stearman

 */

public
 
interface
 
IStudent
 
{

    

    
/** Set new GPA */

   
public
 
void
 setCurrentGPA
(
float
 newGPA
);

   

   
/** Calculate GPA */

   
public
 
void
 setCurrentGPA
();

   

   
/** Set date of graduation */

   
public
 
void
 setDateOfGraduation
(
GregorianCalendar
 newDate
);

   
public
 
void
 setDateOfGraduation
(
int
 yyyy
,
 
int
 mm
,
 
int
 dd
);

  

   
public
 
GregorianCalendar
 getDateOfGraduation
();

   
public
 
float
 getCurrentGPA
();

   
public
 
List
 getClasses
();

    

}

WilliamStearman_Java301/src/stearman_hierarchy/PersonBase.java
WilliamStearman_Java301/src/stearman_hierarchy/PersonBase.java
/*

 * 

 */

package
 stearman_hierarchy
;

import
 stearman_utilities
.
Logger
;

import
 java
.
text
.
SimpleDateFormat
;

import
 java
.
util
.
GregorianCalendar
;

/**

 * 
@author
 W Stearman

 */

public
 
class
 
PersonBase
 
implements
 
IPerson
 
{

    
private
 
String
 name
;

    
private
 
String
 address
;

    
private
 
String
 SSN
;

    
private
 
GregorianCalendar
 dateOfBirth
;

    

    
//Default const

    
public
 
PersonBase
()
 
{
 

        
Logger
.
logInfo
(
“Person created”
);

    
}

    

    
//Overloaded const

    
public
 
PersonBase
(
String
 name
,
 
String
 address
,
 
String
 SSN
,
 

            
GregorianCalendar
 dateOfBirth
)
 
{

        
this
.
name 
=
 name
;

        
this
.
address 
=
 address
;

        
this
.
SSN 
=
 SSN
;

        
this
.
dateOfBirth 
=
 dateOfBirth
;

        
Logger
.
logInfo
(
“Person created”
);

    
}

    

    
//Get name

    
public
 
String
 getName
()
 
{

        
return
 
this
.
name
;

    
}

    

    
//Get address

    
public
 
String
 getAddress
()
 
{

        
return
 
this
.
address
;

    
}

    

    
//Get SSN

    
public
 
String
 getSSN
()
 
{

        
return
 
this
.
SSN
;

    
}

    

    
//Get date of birth

    
public
 
GregorianCalendar
 getDateOfBirth
()
 
{

        
return
 
this
.
dateOfBirth
;

    
}

    

    
//Date of birth toString

    
public
 
String
 dateOfBirth_toString
()
 
{

        
SimpleDateFormat
 sdf 
=
 
new
 
SimpleDateFormat
(
“mm-dd-yyyy”
);

        
return
 sdf
.
format
(
this
.
dateOfBirth
.
getTime
());

    
}

    

    
//Return reference

    
public
 
PersonBase
 getPersonBase
()
 
{

        
return
 
this
;

    
}

    

    
//Set name

    
public
 
void
 setName
(
String
 name
)
 
{

        
this
.
name 
=
 name
;

    
}

    

    
//Set address

    
public
 
void
 setAddress
(
String
 address
)
 
{

        
this
.
address 
=
 address
;

    
}

    

    
//Set SSN

    
public
 
void
 setSSN
(
String
 SSN
)
 
{

        
this
.
SSN 
=
 SSN
;

    
}

    

    
//Set reference to date of birth

    
public
 
void
 setDateOfBirth
(
GregorianCalendar
 dateOfBirth
)
 
{

        
this
.
dateOfBirth 
=
 dateOfBirth
;

    
}

    

    
//Set date of birth

    
public
 
void
 setDateOfBirth
(
int
 mm
,
 
int
 dd
,
 
int
 yyyy
)
 
{

        
// Account for Java date month being off by 1

        mm 
=
 mm 

 
1
;

        
this
.
dateOfBirth 
=
 
new
 
GregorianCalendar
(
yyyy
,
 mm
,
 dd
);

    
}

    

    
//Convert to string

    
public
 
String
 toString
()
 
{

        
SimpleDateFormat
 sdf 
=
 
new
 
SimpleDateFormat
(
“mm/dd/yy”
);

        
return
 
(
this
.
name 
+
 
“\t”
 
+
 
this
.
address 
+
 
“\t”
 
+
 
this
.
SSN 
+
 
“\t”
 
+

                sdf
.
format
(
this
.
dateOfBirth
.
getTime
()));

    
}

    

      

}

WilliamStearman_Java301/src/stearman_hierarchy/Student.java
WilliamStearman_Java301/src/stearman_hierarchy/Student.java
/*

 * 

 */

package
 stearman_hierarchy
;

import
 stearman_utilities
.
Logger
;

import
 java
.
text
.
SimpleDateFormat
;

import
 java
.
util
.
ArrayList
;

import
 java
.
util
.
GregorianCalendar
;

import
 java
.
util
.
List
;

/**

 *

 * 
@author
 W Stearman

 */

public
 
class
 
Student
 
extends
 
PersonBase
 
implements
 
IStudent
 
{

   
private
 
GregorianCalendar
 dateOfGraduation 
=
 
new
 
GregorianCalendar
();

   
private
 
float
 currentGPA
;

   
private
 
List
< StudentClass >
 classes 
=
 
new
 
ArrayList
< StudentClass >
();

 

   
// Default constructor

   
public
 
Student
()
 
{

     
Logger
.
logInfo
(
“Student created”
);

   
}

   
// Overloaded constructor

   
public
 
Student
 
(
String
 name
,
 
String
 address
,
 
String
 ssnum
,
 
GregorianCalendar
 dob
,

                   
GregorianCalendar
 dog
)
 
{

      
super
(
name
,
 address
,
 ssnum
,
 dob
);

      
this
.
dateOfGraduation 
=
 dob
;

      
Logger
.
logInfo
(
“Student created”
);

   
}

   
/** Set GPA */

    
public
 
void
 setCurrentGPA
(
float
 newGPA
)
 
{

       
this
.
currentGPA 
=
 newGPA
;

    
}

    
/** 

    *GPA is calculated by dividing the total amount of grade points earned by the 

    * total amount of credit hours attempted. For the sake of simplicity, 

    * let’s assume that each class is 1 credit hours.

    *So for 3 courses in which a student received an A, B, C, you would have the following:

    A=4 grade points

    B=3 grade points

    C=2 grade points

    D=1 grade point

    WF/F=0 grade points 

    4 + 3 + 2 = 9 / 3 = 3.0

    */

    
public
 
void
 setCurrentGPA
()
 
{

        
float
 gpa 
=
 
0.0f
;

        

        
/* Retrieve a student class */

       
for
 
(
StudentClass
 sclass 
:
 classes
)
 
{

           
/* Get the gpa for a set of grades for a single class */

           
float
 total 
=
 
0.0f
;

           
float
 grade 
=
 
0.0f
;

           
int
 classGPA 
=
 
0
;

           
int
 numberOfGrades 
=
 sclass
.
getGrades
().
size
();

           

           
for
 
(
int
 i 
=
 
0
;
 i 
<  numberOfGrades ;  i ++ )   {                grade  =  sclass . getGrade ( i );                total   =  total  +  grade ;             }            total  =  total  /  numberOfGrades ;                         if   ( total  >
 
90
)
 
{

               classGPA 
=
 
4
;

           
}
 
else
 
if
 
(
total 
>
 
80
)
 
{

               classGPA 
=
 
3
;

           
}
 
else
 
if
 
(
total 
>
 
70
)
 
{

               classGPA 
=
 
2
;

           
}
 
else
 
if
 
(
total 
>
 
60
)
 
{

               classGPA 
=
 
1
;

           
}
 
else
 
{

               classGPA 
=
 
0
;

           
}

           gpa 
=
 gpa 
+
 classGPA
;

       
}

       
this
.
currentGPA 
=
 gpa 
/
 classes
.
size
();

    
}

    

    
public
 
void
 setDateOfGraduation
(
GregorianCalendar
 newDate
)
 
{

       
this
.
dateOfGraduation 
=
 newDate
;

    
}

    

    
/** Set date of graduation */

    
public
 
void
 setDateOfGraduation
(
int
 yyyy
,
 
int
 mm
,
 
int
 dd
)
 
{

        
// Account for Java date month being off by 1

        mm 
=
 mm 

 
1
;

        
this
.
dateOfGraduation 
=
 
new
 
GregorianCalendar
(
yyyy
,
 mm
,
 dd
);

    
}

    
public
 
float
 getCurrentGPA
()
 
{

         
return
 
this
.
currentGPA
;

    
}

    
public
 
GregorianCalendar
 getDateOfGraduation
()
 
{

      
return
 
this
.
dateOfGraduation
;

    
}

    
public
 
List
 getClasses
()
 
{

      
return
 
this
.
classes
;

    
}

    
public
 
String
 toString
()
 
{

      
SimpleDateFormat
 sdf2 
=
 
new
 
SimpleDateFormat
(
“MM/dd/yyyy”
);

      
String
 studentString 
=
 
“Student: ”
 
+
 
super
.
toString
()
 
+

              
“\nDate of Graduation: ”
 
+
 sdf2
.
format
(
dateOfGraduation
.
getTime
())
 
+

              
“\nClassed Taken: ”
 
+
 classes
.
toString
()
 
+
 

              
“\nGPA: ”
 
+
 
this
.
getCurrentGPA
();

      
return
 studentString
;

   
}
  

    

}

WilliamStearman_Java301/src/stearman_hierarchy/StudentClass.java
WilliamStearman_Java301/src/stearman_hierarchy/StudentClass.java
/*

 * 

 */

package
 stearman_hierarchy
;

import
 stearman_utilities
.
Logger
;

import
 java
.
util
.
ArrayList
;

import
 java
.
util
.
List
;

/**

 *

 * 
@author
 W Stearman

 */

public
 
class
 
StudentClass
 
extends
 
ClassBase
 
{

    
/** 

     * Maintains a list of all grades for a student

     */

    
private
 
List
< Float >
 grades 
=
 
new
 
ArrayList
< Float >
();

    
// Constructors

    
public
 
StudentClass
()
 
{

        
Logger
.
logInfo
(
“StudentClass created”
);

    
}

    
public
 
StudentClass
(
float
 id
,
 
String
 name
,
 
Classroom
 room
)
 
{

        
super
(
id
,
 name
,
 room
);

        
Logger
.
logInfo
(
“StudentClass created”
);

    
}

    
public
 
StudentClass
(
ClassBase
 newClass
)
 
{

        
super
(
newClass
);

        
Logger
.
logInfo
(
“StudentClass created”
);

    
}

    
public
 
StudentClass
(
ClassBase
 newClass
,
 
List
< Float >
 grades
)
 
{

        
super
(
newClass
);

        
this
.
grades 
=
 grades
;

        
Logger
.
logInfo
(
“StudentClass created”
);

    
}

    
public
 
StudentClass
(
ClassBase
 newClass
,
 
float
 grade
)
 
{

        
super
(
newClass
);

        
this
.
grades
.
add
(
grade
);

        
Logger
.
logInfo
(
“StudentClass created”
);

    
}

    
/**

     * All grades

     * 
@return
 grades

     */

    
public
 
List
< Float >
 getGrades
()
 
{

        
return
 grades
;

    
}

    
/**

     * Sets the grade list to a list passed in

     * Wipes out current list

     */

    
public
 
void
 setGrades
(
List
< Float >
 grades
)
 
{

        
this
.
grades 
=
 grades
;

    
}

    
/**

     * Retrieve a single grade

     * 
@return
 grade(index)

     */

    
public
 
float
 getGrade
(
int
 index
)
 
{

        
return
 
this
.
grades
.
get
(
index
);

    
}

    
/**

     * Add a single grade to the list

     */

    
public
 
void
 addGrade
(
float
 grade
)
 
{

        
this
.
grades
.
add
(
grade
);

    
}

    
/**

     * Add a list of grades to the existing list

     */

    
public
 
void
 addGrades
(
List
< Float >
 grades
)
 
{

        
this
.
grades
.
addAll
(
grades
);

    
}

    
/**

     * Format the object for printing

     */

    
public
 
String
 toString
()
 
{

        
String
 gradesListToString 
=
 
super
.
toString
();

        
for
 
(
float
 grade 
:
 grades
)
 
{

            gradesListToString 
+=
 
“\n”
 
+
 grade
;

        
}

        
return
 
(
gradesListToString
);

    
}

}

WilliamStearman_Java301/src/stearman_utilities/Logger.java
WilliamStearman_Java301/src/stearman_utilities/Logger.java
/*

 * 

 */

package
 stearman_utilities
;

/**

 */

public
 
class
 
Logger

{

    
/**

     */

    
public
 
static
 
void
 main
(
String
[]
 args
)

    
{

        
// —————————————————————-

        
// Test #1 – Test disable/enable logging

        
System
.
out
.
println
(
“Testing disable/enable logging”
);

        
System
.
out
.
println
(
“You should see four messages:”
);

        
Logger
.
setDetailDebug
();

        
Logger
.
disableLogging
();

        
Logger
.
logDebug
(
“Test failed, this should not print!”
);

        
Logger
.
logInfo
(
“Test failed, this should not print!”
);

        
Logger
.
logWarning
(
“Test failed, this should not print!”
);

        
Logger
.
logError
(
“Test failed, this should not print!”
);

        
Logger
.
enableLogging
();

        
Logger
.
logDebug
(
“Message #1”
);

        
Logger
.
logInfo
(
“Message #2”
);

        
Logger
.
logWarning
(
“Message #3”
);

        
Logger
.
logError
(
“Message #4”
);

        
// —————————————————————-

        
// —————————————————————-

        
// Test #2 – Test Debug Detail

        
System
.
out
.
println
(
“Testing Debug Detail”
);

        
System
.
out
.
println
(
“You should see four messages:”
);

        
Logger
.
setDetailDebug
();

        
Logger
.
enableLogging
();

        
Logger
.
logDebug
(
“Message #1”
);

        
Logger
.
logInfo
(
“Message #2”
);

        
Logger
.
logWarning
(
“Message #3”
);

        
Logger
.
logError
(
“Message #4”
);

        
// —————————————————————-

        
// —————————————————————-

        
// Test #3 – Test Info Detail

        
System
.
out
.
println
(
“Testing Info Detail”
);

        
System
.
out
.
println
(
“You should see three messages:”
);

        
Logger
.
setDetailInfo
();

        
Logger
.
enableLogging
();

        
Logger
.
logDebug
(
“Test failed, this should not print!”
);

        
Logger
.
logInfo
(
“Message #1”
);

        
Logger
.
logWarning
(
“Message #2”
);

        
Logger
.
logError
(
“Message #3”
);

        
// —————————————————————-

        
// —————————————————————-

        
// Test #4 – Test Warning Detail

        
System
.
out
.
println
(
“Testing Warning Detail”
);

        
System
.
out
.
println
(
“You should see two messages:”
);

        
Logger
.
setDetailWarning
();

        
Logger
.
enableLogging
();

        
Logger
.
logDebug
(
“Test failed, this should not print!”
);

        
Logger
.
logInfo
(
“Test failed, this should not print!”
);

        
Logger
.
logWarning
(
“Message #1”
);

        
Logger
.
logError
(
“Message #2”
);

        
// —————————————————————-

        
// —————————————————————-

        
// Test #5 – Test Error Detail

        
System
.
out
.
println
(
“Testing Error Detail”
);

        
System
.
out
.
println
(
“You should see one messages:”
);

        
Logger
.
setDetailError
();

        
Logger
.
enableLogging
();

        
Logger
.
logDebug
(
“Test failed, this should not print!”
);

        
Logger
.
logInfo
(
“Test failed, this should not print!”
);

        
Logger
.
logWarning
(
“Test failed, this should not print!”
);

        
Logger
.
logError
(
“Message #2”
);

        
// —————————————————————-

    
}

    
/** Set logging message levels.

     * Higher levels log their messages and messages from lower

     * levels. Debug logs 4-1, Info logs 3-1 and so on.

     */

    
public
 
static
 
int
 
Debug
 
=
 
4
;

    
public
 
static
 
int
 
Info
 
=
 
3
;

    
public
 
static
 
int
 
Warning
 
=
 
2
;

    
public
 
static
 
int
 
Error
 
=
 
1
;

    

    
/** Initialize log level to Error and

     * logEnabled to false 

     */

    
private
 
static
 
int
 logLevel 
=
 
1
;

    
private
 
static
 
boolean
 logEnabled 
=
 
false
;

    

        
/** Log Debug messages and below

     */

    
public
 
static
 
void
 logDebug
(
String
 strMessage
)

    
{

            
if
 
(
logEnabled 
&&
 
(
logLevel 
>=
 
Debug
))

            
{

                
System
.
out
.
println
(
strMessage
);

            
}

    
}

    
/** Log Info messages and below

     */

    
public
 
static
 
void
 logInfo
(
String
 strMessage
)

    
{

            
if
 
(
logEnabled 
&&
 
(
logLevel 
>=
 
Info
))

            
{

                
System
.
out
.
println
(
strMessage
);

            
}

    
}

    
/** Log Warning messages and below

     */

    
public
 
static
 
void
 logWarning
(
String
 strMessage
)

    
{

            
if
 
(
logEnabled 
&&
 
(
logLevel 
>=
 
Warning
))

            
{

                
System
.
out
.
println
(
strMessage
);

            
}

    
}

    
/** Log Error messages

     */

    
public
 
static
 
void
 logError
(
String
 strMessage
)

    
{

            
if
 
(
logEnabled 
&&
 
(
logLevel 
>=
 
Error
))

            
{

                
System
.
out
.
println
(
strMessage
);

            
}

    
}

    
/** Enables logging

     */

    
public
 
static
 
void
 enableLogging
()

    
{

            logEnabled 
=
 
true
;

    
}

    
/** Disables logging

     */

    
public
 
static
 
void
 disableLogging
()

    
{

            logEnabled 
=
 
false
;

    
}

    
/** Set log detail to Debug

     */

    
public
 
static
 
void
 setDetailDebug
()

    
{

            logLevel 
=
 
Debug
;

    
}

    
/** Set log detail to Info

     */

    
public
 
static
 
void
 setDetailInfo
()

    
{

            logLevel 
=
 
Info
;

    
}

    
/** Set log detail to Warning

     */

    
public
 
static
 
void
 setDetailWarning
()

    
{

            logLevel 
=
 
Warning
;

    
}

    
/** Set log detail to Error

     */

    
public
 
static
 
void
 setDetailError
()

    
{

            logLevel 
=
 
Error
;

    
}

    
/** Method Logger not used

     */

    
private
 
void
 
Logger
()
 
{};

    

}

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER