27.4. AutoComplete Text Field and Virtual Forms

We demonstrate the AutoComplete Text Field component from the BluePrints catalog by adding a new form to our AddressBook application. The AutoComplete Text Field provides a list of suggestions as the user types. It obtains the suggestions from a data source, such as a database or web service. Eventually, the new form will allow users to search the address book by last name, then first name. If the user selects a contact, the application will display the contact’s name and address on a map of the neighborhood. We build this form in two stages. First, we’ll add the AutoComplete Text Field that will display suggestions as the user types a contact’s last name. Then we’ll add the search functionality ...

Get Java™ How to Program, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.