public AddEmployeeDialog() {
		setTitle("Add Employee");
		String[] positions = {"Staff", "Kitchen", "Manager"};
		String[] types = {"Full-Time", "Part-Time"};
		setBounds(100, 100, 675, 520);
		getContentPane().setLayout(new BorderLayout());
		contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
		getContentPane().add(contentPanel, BorderLayout.CENTER);
		
		JLabel lblAddEmployee = new JLabel("Add Employee");
		lblAddEmployee.setFont(new Font("Lucida Grande", Font.PLAIN, 30));
		
		JLabel lblFirstName = new JLabel("First Name* :");
		lblFirstName.setFont(new Font("Lucida Grande", Font.PLAIN, 20));
		
		textFieldFirstName = new JTextField();
		textFieldFirstName.setColumns(10);
		
		JLabel lblLastName = new JLabel("Last Name* :");
		lblLastName.setFont(new Font("Lucida Grande", Font.PLAIN, 20));
		
		textFieldLastName = new JTextField();
		textFieldLastName.setColumns(10);
		
		JLabel lblPin = new JLabel("PIN *:");
		lblPin.setFont(new Font("Lucida Grande", Font.PLAIN, 20));
		
		textFieldPin = new JTextField();
		textFieldPin.setColumns(10);
		
		JLabel lblPosition = new JLabel("Position* :");
		lblPosition.setFont(new Font("Lucida Grande", Font.PLAIN, 20));
		
		final JComboBox comboBoxPosition = new JComboBox(positions);
		{
			buttonPane = new JPanel();
			{
				cancelButton = new JButton("Cancel");
				cancelButton.addMouseListener(new MouseAdapter() {
					@Override
					public void mouseClicked(MouseEvent arg0) {
						dispose();
					}
				});
				cancelButton.setActionCommand("Cancel");
			}
			
			JButton btnAdd = new JButton("Add");
			btnAdd.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent e) {
					String firstName = textFieldFirstName.getText();
					String lastName = textFieldLastName.getText();
					String pin = textFieldPin.getText();
					String position = comboBoxPosition.getSelectedItem().toString();
					String type = comboBoxType.getSelectedItem().toString();
					
					
					if(firstName.compareTo("") == 0 || lastName.compareTo("") == 0 || pin.compareTo("") == 0 || position.compareTo("") == 0 || type.compareTo("") == 0 ){
						JOptionPane.showMessageDialog(contentPanel, "All fields are required!");
						return;
					}
					
					try {
						int pinTest = Integer.parseInt(pin);
						if(testPin(pin)){
							//pin exists, have them select a new one
							JOptionPane.showMessageDialog(contentPanel, "PIN already exists, choose a new one!");
							return;
						}
					} catch (NumberFormatException nfe) {
						JOptionPane.showMessageDialog(contentPanel, "PIN must contain only numbers!");
						return;
					}
					
					java.sql.Statement state = DBConnection.OpenConnection();
					String query = String.format("INSERT INTO `avalenti`.`Employees` (`FirstName`, `LastName`, `PIN`, `Position`, `Type`) VALUES ('%s', '%s', %s, '%s', '%s');", firstName, lastName, pin, position, type);
					if(state != null){
						try {
							state.execute(query);
						} catch (SQLException exception) {
							System.err.println("Error in SQL Execution");
							}
					}
					else
						System.err.println("Statement was null.  No connection?");
					JOptionPane.showMessageDialog(contentPanel, "Employee Added!");
					dispose();
				}
			});
			GroupLayout gl_buttonPane = new GroupLayout(buttonPane);
			gl_buttonPane.setHorizontalGroup(
				gl_buttonPane.createParallelGroup(Alignment.LEADING)
					.addGroup(gl_buttonPane.createSequentialGroup()
						.addContainerGap()
						.addComponent(cancelButton)
						.addPreferredGap(ComponentPlacement.RELATED, 485, Short.MAX_VALUE)
						.addComponent(btnAdd, GroupLayout.PREFERRED_SIZE, 84, GroupLayout.PREFERRED_SIZE)
						.addContainerGap())
			);
			gl_buttonPane.setVerticalGroup(
				gl_buttonPane.createParallelGroup(Alignment.TRAILING)
					.addGroup(gl_buttonPane.createSequentialGroup()
						.addContainerGap()
						.addGroup(gl_buttonPane.createParallelGroup(Alignment.LEADING)
							.addComponent(btnAdd, Alignment.TRAILING, GroupLayout.DEFAULT_SIZE, 49, Short.MAX_VALUE)
							.addComponent(cancelButton, Alignment.TRAILING, GroupLayout.PREFERRED_SIZE, 49, GroupLayout.PREFERRED_SIZE)))
			);
			buttonPane.setLayout(gl_buttonPane);
		}
		
		JLabel lblType = new JLabel("Type* :");
		lblType.setFont(new Font("Lucida Grande", Font.PLAIN, 20));
		
		comboBoxType = new JComboBox(types);
		GroupLayout gl_contentPanel = new GroupLayout(contentPanel);
		gl_contentPanel.setHorizontalGroup(
			gl_contentPanel.createParallelGroup(Alignment.TRAILING)
				.addGroup(gl_contentPanel.createSequentialGroup()
					.addComponent(buttonPane, GroupLayout.PREFERRED_SIZE, 667, GroupLayout.PREFERRED_SIZE)
					.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
				.addGroup(Alignment.LEADING, gl_contentPanel.createSequentialGroup()
					.addGap(38)
					.addGroup(gl_contentPanel.createParallelGroup(Alignment.LEADING)
						.addGroup(gl_contentPanel.createSequentialGroup()
							.addComponent(lblType)
							.addContainerGap())
						.addGroup(gl_contentPanel.createParallelGroup(Alignment.LEADING)
							.addGroup(gl_contentPanel.createSequentialGroup()
								.addComponent(lblPosition)
								.addContainerGap())
							.addGroup(gl_contentPanel.createParallelGroup(Alignment.LEADING)
								.addGroup(gl_contentPanel.createSequentialGroup()
									.addComponent(lblPin)
									.addContainerGap())
								.addGroup(gl_contentPanel.createParallelGroup(Alignment.LEADING)
									.addGroup(gl_contentPanel.createSequentialGroup()
										.addComponent(lblLastName)
										.addContainerGap())
									.addGroup(gl_contentPanel.createSequentialGroup()
										.addComponent(lblFirstName, GroupLayout.PREFERRED_SIZE, 128, GroupLayout.PREFERRED_SIZE)
										.addGroup(gl_contentPanel.createParallelGroup(Alignment.LEADING)
											.addGroup(gl_contentPanel.createSequentialGroup()
												.addGap(56)
												.addComponent(lblAddEmployee, GroupLayout.DEFAULT_SIZE, 216, Short.MAX_VALUE)
												.addGap(235))
											.addGroup(gl_contentPanel.createSequentialGroup()
												.addGap(18)
												.addGroup(gl_contentPanel.createParallelGroup(Alignment.TRAILING, false)
													.addComponent(textFieldLastName, Alignment.LEADING)
													.addComponent(textFieldFirstName, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 414, Short.MAX_VALUE)
													.addComponent(comboBoxPosition, Alignment.LEADING, 0, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
													.addComponent(textFieldPin, Alignment.LEADING)
													.addComponent(comboBoxType, Alignment.LEADING, 0, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
												.addGap(67)))))))))
		);
		gl_contentPanel.setVerticalGroup(
			gl_contentPanel.createParallelGroup(Alignment.LEADING)
				.addGroup(gl_contentPanel.createSequentialGroup()
					.addComponent(lblAddEmployee)
					.addGap(61)
					.addGroup(gl_contentPanel.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblFirstName)
						.addComponent(textFieldFirstName, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
					.addGap(40)
					.addGroup(gl_contentPanel.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblLastName)
						.addComponent(textFieldLastName, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
					.addGap(42)
					.addGroup(gl_contentPanel.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblPin)
						.addComponent(textFieldPin, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
					.addGap(41)
					.addGroup(gl_contentPanel.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblPosition)
						.addComponent(comboBoxPosition, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
					.addGap(29)
					.addGroup(gl_contentPanel.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblType)
						.addComponent(comboBoxType, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
					.addPreferredGap(ComponentPlacement.RELATED, 37, Short.MAX_VALUE)
					.addComponent(buttonPane, GroupLayout.PREFERRED_SIZE, 55, GroupLayout.PREFERRED_SIZE))
		);
		contentPanel.setLayout(gl_contentPanel);
	}