/**
* Adds auto-completion capabilities to this text field.
*/
private void enableAutoCompletion() {
new TextFieldCompletion(new AutocompleterTextComponent(this) {
@Override
public void OnEnterPressed(KeyEvent keyEvent) {
if (textFieldValidated()) // if a malformed url was entered.
folderChangeCompleted(false);