JPanel box3 = new JPanel(new BorderLayout());
Box box3 = new Box(BoxLayout.X_AXIS);
	private JPanel createDirectoryOptions()	{		JPanel box = new JPanel(new BorderLayout());		// First component houses the labels.		JPanel labels = new JPanel(new GridLayout(2,1));		labels.add(new JLabel(jEdit.getProperty("multifile.directory.path"),			SwingConstants.RIGHT));		labels.add(new JLabel(jEdit.getProperty("multifile.directory.glob"),			SwingConstants.RIGHT));		box.add(BorderLayout.WEST,labels);		// Second components houses the text fields and buttons.		JPanel fields = new JPanel(new GridLayout(2,1));		// Box holding path field and choose button		JPanel box1 = new JPanel(new BorderLayout());		Box box2 = new Box(BoxLayout.Y_AXIS);		box2.add(Box.createGlue());		String path;		if(view.getBuffer().getVFS() instanceof FileVFS)		{			path = MiscUtilities.getFileParent(				view.getBuffer().getPath());		}		else			path = System.getProperty("user.dir");		directoryPath = new JTextField(path);		Dimension dim = directoryPath.getPreferredSize();		dim.width = Integer.MAX_VALUE;		directoryPath.setMaximumSize(dim);		box2.add(directoryPath);		box2.add(Box.createGlue());		box1.add(BorderLayout.CENTER,box2);		directoryChoose = new JButton(jEdit.getProperty("multifile"			+ ".directory.choose"));		directoryChoose.addActionListener(new ActionHandler());		box1.add(BorderLayout.EAST,directoryChoose);		fields.add(box1);		// Box holding glob field and recurse check box		JPanel box3 = new JPanel(new BorderLayout());		Box box4 = new Box(BoxLayout.Y_AXIS);		box4.add(Box.createGlue());		Mode[] modes = jEdit.getModes();		Vector globs = new Vector(modes.length);		globs.addElement("*");		for(int i = 0; i < modes.length; i++)		{			String glob = (String)modes[i].getProperty("filenameGlob");			if(glob != null)				globs.addElement(glob);		}		int i = 0;		String glob;		while((glob = jEdit.getProperty("filefilter." + i)) != null)		{			globs.addElement(glob);			i++;		}		directoryGlob = new JComboBox(globs);		directoryGlob.setEditable(true);		directoryGlob.setSelectedItem("*" + MiscUtilities.getFileExtension(			view.getBuffer().getName()));		dim = directoryGlob.getPreferredSize();		dim.width = Integer.MAX_VALUE;		directoryGlob.setMaximumSize(dim);		box4.add(directoryGlob);		box4.add(Box.createGlue());		box3.add(BorderLayout.CENTER,box4);		directoryRecurse = new JCheckBox(jEdit.getProperty("multifile"			+ ".directory.recurse"));		directoryRecurse.setSelected(jEdit.getBooleanProperty(			"multifile.directory.recurse.value"));		directoryRecurse.addActionListener(new ActionHandler());		box3.add(BorderLayout.EAST,directoryRecurse);		fields.add(box3);		box.add(BorderLayout.CENTER,fields);		return box;	}