if(current.getModel().isSelected()) fileset = new CurrentBufferSet(); else if(all.getModel().isSelected()) fileset = new AllBufferSet(); else if(selected.getModel().isSelected()) { Object[] values = bufferList.getSelectedValues(); if(values == null || values.length == 0) { GUIUtilities.error(view,"invalid-fileset",null); return; } else fileset = new BufferListSet(values); } else if(directory.getModel().isSelected()) { String _directory = directoryPath.getText(); String _glob = (String)directoryGlob.getSelectedItem(); boolean _recurse = directoryRecurse.getModel() .isSelected();  jEdit.setBooleanProperty("multifile.directory.recurse.value",_recurse);  fileset = new DirectoryListSet(_directory, _glob,_recurse); if(!((BufferListSet)fileset).isValid()) { GUIUtilities.error(view,"invalid-fileset",null); return; } } else return;
	public void ok()	{		isOK = true;		dispose();	}