find.selectAll();
	public void setSearchString(String searchString)	{		find.setText(searchString);		replace.setText(null);		if(!isVisible())		{			keepDialog.setSelected(jEdit.getBooleanProperty(				"search.keepDialog.toggle"));			ignoreCase.setSelected(SearchAndReplace.getIgnoreCase());			regexp.setSelected(SearchAndReplace.getRegexp());			hyperSearch.setSelected(jEdit.getBooleanProperty("search.hypersearch.toggle"));			fileset = SearchAndReplace.getSearchFileSet();			if(fileset instanceof CurrentBufferSet)				searchCurrentBuffer.setSelected(true);			else if(fileset instanceof AllBufferSet)				searchAllBuffers.setSelected(true);			else if(fileset instanceof DirectoryListSet)				searchDirectory.setSelected(true);			if(fileset instanceof DirectoryListSet)			{				filter.setText(((DirectoryListSet)fileset)					.getFileFilter());				directory.setText(((DirectoryListSet)fileset)					.getDirectory());				searchSubDirectories.setSelected(((DirectoryListSet)fileset)					.isRecursive());			}			else			{				String path;				if(view.getBuffer().getVFS() instanceof FileVFS)				{					path = MiscUtilities.getParentOfPath(						view.getBuffer().getPath());				}				else					path = System.getProperty("user.dir");				directory.setText(path);				if(fileset instanceof AllBufferSet)				{					filter.setText(((AllBufferSet)fileset)						.getFileFilter());				}				else				{					filter.setText("*" + MiscUtilities						.getFileExtension(view.getBuffer()						.getName()));				}				searchSubDirectories.setSelected(true);			}			updateEnabled();			setVisible(true);		}		toFront();		requestFocus();		GUIUtilities.requestFocus(this,find);	}