getContentPane().add(list);
	public MultiFileSearchDialog(View view, SearchFileSet fileset)	{		super(view,jEdit.getProperty("multifile.title"),true);		this.view = view;		this.fileset = fileset;		GridBagLayout layout = new GridBagLayout();		getContentPane().setLayout(layout);		GridBagConstraints cons = new GridBagConstraints();		cons.anchor = GridBagConstraints.WEST;		cons.fill = GridBagConstraints.BOTH;		cons.weightx = 1.0f;		JLabel caption = new JLabel(jEdit.getProperty("multifile.caption"));		cons.gridy++;		layout.setConstraints(caption,cons);		getContentPane().add(caption);		ActionHandler actionHandler = new ActionHandler();		ButtonGroup grp = new ButtonGroup();		current = new JRadioButton(jEdit.getProperty("multifile.current"));		if(fileset instanceof CurrentBufferSet)			current.setSelected(true);		current.addActionListener(actionHandler);		grp.add(current);		cons.gridy++;		layout.setConstraints(current,cons);		getContentPane().add(current);		all = new JRadioButton(jEdit.getProperty("multifile.all"));		if(fileset instanceof AllBufferSet)			all.setSelected(true);		all.addActionListener(actionHandler);		grp.add(all);		cons.gridy++;		layout.setConstraints(all,cons);		getContentPane().add(all);		selected = new JRadioButton(jEdit.getProperty("multifile.selected"));		if(fileset instanceof BufferListSet			&& !(fileset instanceof DirectoryListSet))			selected.setSelected(true);		selected.addActionListener(actionHandler);		grp.add(selected);		cons.gridy++;		layout.setConstraints(selected,cons);		getContentPane().add(selected);		JScrollPane list = createBufferList();		cons.gridy++;		cons.weighty = 1.0f;		layout.setConstraints(list,cons);		cons.weighty = 0.0f;		getContentPane().add(list);		directory = new JRadioButton(jEdit.getProperty("multifile.directory"));		if(fileset instanceof DirectoryListSet)			directory.setSelected(true);		directory.addActionListener(actionHandler);		grp.add(directory);		cons.gridy++;		layout.setConstraints(directory,cons);		getContentPane().add(directory);		JPanel options = createDirectoryOptions();		cons.gridy++;		layout.setConstraints(options,cons);		getContentPane().add(options);		JPanel panel = new JPanel();		ok = new JButton(jEdit.getProperty("common.ok"));		ok.addActionListener(actionHandler);		getRootPane().setDefaultButton(ok);		panel.add(ok);		cancel = new JButton(jEdit.getProperty("common.cancel"));		cancel.addActionListener(actionHandler);		panel.add(cancel);		cons.gridy++;		layout.setConstraints(panel,cons);		getContentPane().add(panel);		updateEnabled();		pack();		setLocationRelativeTo(view);		show();	}