fieldPanel.add(stringReplace);
replaceModeBox.add(stringReplace);
	private JPanel createFieldPanel()	{		ButtonActionHandler actionHandler = new ButtonActionHandler();		JPanel fieldPanel = new JPanel(new VariableGridLayout(			VariableGridLayout.FIXED_NUM_COLUMNS,1));		fieldPanel.setBorder(new EmptyBorder(0,0,12,12));		JLabel label = new JLabel(jEdit.getProperty("search.find"));		label.setDisplayedMnemonic(jEdit.getProperty("search.find.mnemonic")			.charAt(0));		find = new HistoryTextField("find");		find.addActionListener(actionHandler);		label.setLabelFor(find);		label.setBorder(new EmptyBorder(12,0,2,0));		fieldPanel.add(label);		fieldPanel.add(find);		label = new JLabel(jEdit.getProperty("search.replace"));		label.setDisplayedMnemonic(jEdit.getProperty("search.replace.mnemonic")			.charAt(0));		label.setBorder(new EmptyBorder(12,0,0,0));		fieldPanel.add(label);		ButtonGroup grp = new ButtonGroup();		ReplaceActionHandler replaceActionHandler = new ReplaceActionHandler();		// we use a custom JRadioButton subclass that returns		// false for isFocusTraversable() so that the user can		// tab from the search field to the replace field with		// one keystroke		stringReplace = new MyJRadioButton(jEdit.getProperty(			"search.string-replace-btn"));		stringReplace.setBorder(new EmptyBorder(3,0,3,0));		stringReplace.addActionListener(replaceActionHandler);		grp.add(stringReplace);		fieldPanel.add(stringReplace);		replace = new HistoryTextField("replace");		replace.addActionListener(actionHandler);		label.setLabelFor(replace);		fieldPanel.add(replace);		beanShellReplace = new MyJRadioButton(jEdit.getProperty(			"search.beanshell-replace-btn"));		beanShellReplace.setBorder(new EmptyBorder(6,0,3,0));		beanShellReplace.addActionListener(replaceActionHandler);		grp.add(beanShellReplace);		fieldPanel.add(beanShellReplace);		if(jEdit.getBooleanProperty("search.beanshell.value"))			beanShellReplace.setSelected(true);		else			stringReplace.setSelected(true);		replaceScript = new HistoryTextField("replace.script");		replaceScript.addActionListener(actionHandler);		fieldPanel.add(replaceScript);		return fieldPanel;	}