fileset = SearchAndReplace.getSearchFileSet();
	public HyperSearch(View view, String defaultFind)	{		super(jEdit.getProperty("hypersearch.title"));		this.view = view;		fileset = SearchAndReplace.getSearchFileSet();		Container content = getContentPane();		content.setLayout(new BorderLayout());		JPanel panel = new JPanel(new BorderLayout());		panel.setBorder(new EmptyBorder(12,12,12,12));		find = new HistoryTextField("find");		JPanel fieldPanel = new JPanel(new BorderLayout());		fieldPanel.setBorder(new EmptyBorder(0,0,6,0));		JLabel label = new JLabel(jEdit.getProperty("hypersearch.find"));		label.setBorder(new EmptyBorder(0,0,2,0));		label.setDisplayedMnemonic(jEdit.getProperty("search.find.mnemonic")			.charAt(0));		label.setLabelFor(find);		fieldPanel.add(label,BorderLayout.NORTH);		fieldPanel.add(find, BorderLayout.CENTER);		panel.add(fieldPanel, BorderLayout.NORTH);		Box box = new Box(BoxLayout.X_AXIS);		ignoreCase = new JCheckBox(jEdit.getProperty(			"search.ignoreCase"),SearchAndReplace.getIgnoreCase());		ignoreCase.setMnemonic(jEdit.getProperty("search.ignoreCase"			+ ".mnemonic").charAt(0));		regexp = new JCheckBox(jEdit.getProperty(			"search.regexp"),SearchAndReplace.getRegexp());		regexp.setMnemonic(jEdit.getProperty("search.regexp.mnemonic")			.charAt(0));		multifile = new JCheckBox();		multifile.setSelected(!(fileset instanceof CurrentBufferSet));		multifileBtn = new JButton(jEdit.getProperty(			"search.multifile"));		multifileBtn.setMnemonic(jEdit.getProperty("search.multifile"			+ ".mnemonic").charAt(0));		box.add(ignoreCase);		box.add(Box.createHorizontalStrut(3));		box.add(regexp);		box.add(Box.createHorizontalStrut(3));		box.add(multifile);		box.add(multifileBtn);		box.add(Box.createHorizontalStrut(6));		start = new JButton(jEdit.getProperty("hypersearch.start"));		box.add(start);		box.add(Box.createHorizontalStrut(6));		stop = new JButton(jEdit.getProperty("hypersearch.stop"));		box.add(stop);		box.add(Box.createHorizontalStrut(6));		status = new JLabel();		box.add(status);		getRootPane().setDefaultButton(start);		updateEnabled();		updateStatus();		Dimension size = status.getPreferredSize();		size.width = Math.max(size.width,100);		status.setPreferredSize(size);		status.setMinimumSize(size);		panel.add(box, BorderLayout.CENTER);		content.add(panel, BorderLayout.NORTH);		resultTreeRoot = new DefaultMutableTreeNode();		resultTreeModel = new DefaultTreeModel(resultTreeRoot);		resultTree = new JTree(resultTreeModel);		resultTree.setCellRenderer(new ResultCellRenderer());		resultTree.setVisibleRowCount(16);		resultTree.setRootVisible(false);		resultTree.setShowsRootHandles(true);		resultTree.putClientProperty("JTree.lineStyle", "Angled");		resultTree.setEditable(false);		resultTree.addMouseListener(new MouseHandler());		content.add(new JScrollPane(resultTree), BorderLayout.CENTER);		ActionHandler actionListener = new ActionHandler();		multifile.addActionListener(actionListener);		multifileBtn.addActionListener(actionListener);		find.addActionListener(actionListener);		start.addActionListener(actionListener);		stop.addActionListener(actionListener);		if(defaultFind != null)			find.setText(defaultFind);		EditBus.addToBus(this);		setIconImage(GUIUtilities.getEditorIcon());		GUIUtilities.requestFocus(this,find);		pack();		GUIUtilities.loadGeometry(this,"hypersearch");		show();		if(defaultFind != null)			ok();	}