// Add name field, editable
this.nameField = new JTextField(currentFolder.getName());
nameField.setEditable(true);
// Monitors text changes to disable 'Add' button if name field is empty
nameField.getDocument().addDocumentListener(this);
compPanel.addRow(Translator.get("name")+":", nameField, 10);
// Add URL field, non editable
this.locationField = new JTextField(currentFolder.getCanonicalPath());
compPanel.addRow(Translator.get("location")+":", locationField, 10);