public void actionPerformed(ActionEvent evt) {		
		// resets the output
		ButtonFrame.getOutputLog().setText("");
		ButtonFrame.getOutputLog().setText("");
		if (ButtonFrame.getPeriodBox().getSelectedItem().equals("Choose Period") && ButtonFrame.getAreaBox().getSelectedItem().equals("Choose Area")) {
			ButtonFrame.getOutputLog().append("Enter a period and an area\n");
		} else if (ButtonFrame.getPeriodBox().getSelectedItem().equals("Choose Period"))
			ButtonFrame.getOutputLog().append("Enter a period\n");
		else if (ButtonFrame.getAreaBox().getSelectedItem().equals("Choose Area"))
			ButtonFrame.getOutputLog().append("Enter an area\n");
		else if (!ButtonFrame.getTeacherInput().getText().equals("")){
			System.out.println(ButtonFrame.getTeacherInput().getText());
			if(!ButtonFrame.getTeacherInput().getText().trim().equals(""))
				request();
			else
				ButtonFrame.getOutputLog().append("Enter your last name");
		}
		else{
			ButtonFrame.getOutputLog().append("Enter your last name");
			
		}
		ButtonFrame.getInputLog().requestFocus();
		
		try {
			ButtonFrame.getSearcher().lookUp();
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
	}