searchModel.setSearchString(textField.getText());
try { if (comboBox.getSelectedItem().equals("Directory")) searchModel.setProvidor(new DirProvidor(textField.getText())); else searchModel.setProvidor(new YahooProvidor(textField.getText())); } catch(IllegalArgumentException e1) { System.err.println("ERROR: " + e1.getMessage()); }
	public void actionPerformed(ActionEvent e) {		if (e.getActionCommand().equals("find")) {			stopButton.setEnabled(true);			searchModel.setSearchString(textField.getText());			new Thread(new Runnable() {				public void run() {					for (int i = 0; i <= searchModel.getPageCount(); i++) {						try {							searchModel.getPage(i);						} catch (IOException e) {} // ignore					}					EventQueue.invokeLater(new Runnable() {						public void run() {							stopButton.setEnabled(false);						}					});				}							}).start();		} else {			searchModel.stopLoading();		}	}