Auto complete and autocomplete swing implementation.