@@ -0,0 +1,3302 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage cmsc495_final_proj;%0A%0Aimport java.awt.*;%0Aimport java.awt.event.*;%0Aimport javax.swing.*;%0Aimport java.util.Collections;%0Aimport java.util.Comparator;%0Aimport javax.swing.border.*;%0A%0A%0Apublic class Register_Window extends JFrame %7B%0A    %0A%0A    private JTextField FNameTxtField;%0A    private JTextField LNameTxtField;%0A    private JTextField EmailTxtField; %0A    private JTextField PasswdTxtField;%0A    private JTextField RePasswdTxtField;%0A    %0A    //Add UserBox Items%0A    private JPanel addNewUserPanel;%0A    %0A    //Add Event Items%0A    private JPanel addNewEventPanel;%0A    final private String%5B%5D genderOptions = %7B%22Male%22, %22Female%22%7D;%0A    private JButton okayButton;%0A%0A    private JTextField noteTxtField;%0A    private JComboBox%3CString%3E genderComboBox;%0A    %0A    private JPanel newUserPanel;%0A%0A    public Register_Window() %7B%0A        %0A       registerUser();%0A       %0A       JFrame windowBox = new JFrame(%22CMSC 495 Register%22);%0A       //windowBox.setLayout(new GridLayout(3, 3));%0A       windowBox.setLayout(new FlowLayout());%0A       windowBox.setSize(400, 500);%0A       %0A       %0A       %0A       windowBox.add(addNewUserPanel);%0A       %0A       windowBox.setLocationRelativeTo(null);%0A       windowBox.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);%0A       windowBox.setVisible(true);%0A    %7D%0A    %0A    private void registerUser() %7B%0A        FNameTxtField = new JTextField(8);%0A        FNameTxtField.setText(%22Enter First%22);%0A%0A        //Last Name TextField%0A        LNameTxtField = new JTextField(8);%0A        LNameTxtField.setText(%22Enter Last%22);%0A        %0A        EmailTxtField = new JTextField(15);%0A        EmailTxtField.setText(%22Email%22);%0A        %0A        PasswdTxtField = new JTextField(15);%0A        PasswdTxtField.setText(%22Enter Password%22);%0A        %0A        RePasswdTxtField = new JTextField(15);%0A        RePasswdTxtField.setText(%22Re-Enter Password%22);%0A        %0A        setBackground(Color.WHITE);%0A%0A        //OK Button to submit%0A        okayButton = new JButton(%22OK%22);%0A        okayButton.setToolTipText(%22New user will be created with this action%22);%0A%0A        %0A        // Color Options for JComboBox %0A        genderComboBox = new JComboBox%3C%3E(genderOptions);%0A        genderComboBox.setToolTipText(%22Select Male or Female for Gender%22);%0A%0A        // Search panel properties %0A        addNewUserPanel = new JPanel(new GridLayout(8, 1));%0A        addNewUserPanel.setBorder(new TitledBorder(%22 Add User %22));%0A        addNewUserPanel.add(new JLabel(%22 First Name:%22));%0A        addNewUserPanel.add(FNameTxtField);%0A        addNewUserPanel.add(new JLabel(%22 Last Name:%22));%0A        addNewUserPanel.add(LNameTxtField);%0A        addNewUserPanel.add(new JLabel(%22 Email:%22));%0A        addNewUserPanel.add(EmailTxtField);%0A        addNewUserPanel.add(new JLabel(%22 Gender:%22));%0A        addNewUserPanel.add(genderComboBox);%0A        addNewUserPanel.add(new JLabel(%22 Password:%22));%0A        addNewUserPanel.add(PasswdTxtField);%0A        addNewUserPanel.add(new JLabel(%22 Re-Enter:%22));%0A        addNewUserPanel.add(RePasswdTxtField);%0A        addNewUserPanel.add(okayButton, BorderLayout.LINE_END);%0A        %0A        pack();%0A    %7D%0A    %0A    private void createOccasion()%7B%0A        %0A    %7D%0A    %0A%7D%0A

Rename Register_Window.java to Register_Window1.java