// Create the text area:
int editorType = BibtexFields.getEditorType(fields[i]);
final FieldEditor ta;
if (editorType == GUIGlobals.FILE_LIST_EDITOR)
ta = new FileListEditor(frame, bPanel.metaData(), fields[i], null, parent);
else
ta = new FieldTextArea(fields[i], null);
//ta.addUndoableEditListener(bPanel.undoListener);
JComponent ex = parent.getExtra(fields[i], ta);