this.fileField.setEditable(false);
this.fileField.setInputVerifier(NOT_BLANK_INPUT_VERIFIER);</BUG>
this.fileButton = new JButton(UI.BUNDLE.getString("prefs.templates.path.pick"));
<BUG>this.charsetField = new JComboBox<>(templates.getSupportedCharsets());
this.kindField = new JComboBox<>(templates.getTemplateKinds().toArray(new TemplateKind[0]));
this.fileChooser = new JFileChooser();</BUG>
this.fileChooser.setMultiSelectionEnabled(false);
this.fileButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(final ActionEvent e) {

this.fileField.setEditable(false);
this.fileButton = new JButton(UI.BUNDLE.getString("prefs.templates.path.pick"));
this.charsetField = new JComboBox<>(templates.getSupportedCharsets());
this.charsetField.setName(UI.BUNDLE.getString("prefs.templates.charset"));
this.kindField = new JComboBox<>(templates.getTemplateKinds().toArray(new TemplateKind[0]));
this.kindField.setName(UI.BUNDLE.getString("prefs.templates.kind"));
this.fileChooser = new JFileChooser();
this.fileChooser.setMultiSelectionEnabled(false);
this.fileButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(final ActionEvent e) {
