Hi Sajee,
The tough part of that approach is when to start and stop listening. You would need some kind of timer between keys to avoid problems. For example:
Person1: find first A name, then sometime later find first B name, again later find first E name.
Person2: find first Ab name, then sometime later find first E name.
Person3: find first Abe name.
A program would need to distinguish between the three choices. It is analogous to multi-clicking mouse buttons.
When I have to do something like this I will use a textfield along with an associated list. That way the user can see the entire search
string and can add or modify it whenever they want.
I can either use an input listener and search after each letter or use an action listener and search only when return is hit.
Regards,
Manfred.