save(); if(SearchAndReplace.find(view)) disposeOrKeepDialog(); else view.getToolkit().beep();
ok();
		public void actionPerformed(ActionEvent evt)		{			Object source = evt.getSource();			Buffer buffer = view.getBuffer();			if(source == cancel)				dispose();			else if(source == findBtn)			{				save();				if(SearchAndReplace.find(view))					disposeOrKeepDialog();				else					view.getToolkit().beep();			}			else if(source == replaceSelection)			{				save();				if(SearchAndReplace.replace(view))					disposeOrKeepDialog();				else					getToolkit().beep();			}			else if(source == replaceAll)			{				save();				if(SearchAndReplace.replaceAll(view))					disposeOrKeepDialog();				else					getToolkit().beep();			}			else if(source == multifileBtn)			{				showMultiFileDialog();			}			else if(source == multifile)			{				if(multifile.getModel().isSelected())					showMultiFileDialog();				else					fileset = new CurrentBufferSet();			}		}