private void add(ActionEvent e)
	{

		System.out.println("Add employee button clicked.");

		if (e.getSource() instanceof JButton)
		{
			JButton source = (JButton) e.getSource();

			File f = new File("Employee.txt");

			try
			{

				PrintWriter pw = new PrintWriter(new FileOutputStream(f, true));
				user.getText().toUpperCase();
				password.getText().toCharArray();
				access.getText();
				//em = new Employee(user, password, access);
				for (Employee em : ExtractEmployees.employee)
				{

					if (em.getUsername().equals(user.getText()))
					{

						employeeView.displayError("User already exists.");
					}
					else
					{
						pw.write(em.getAccessLevel() + "\t");
						pw.write(em.getUsername() + "\t");
						pw.write(String.valueOf(em.getPassword()) + "\n");
						pw.flush();
						employeeView.displayOk("User added.");
						//employee.addElement(em);
					}
					pw.close();
				}

			}
			catch (FileNotFoundException a)
			{

				a.printStackTrace();
			}

		}
	}