I need to display (user intended) Strings in some sort of a JList (or something ) when user types in a JTextField as possible suggestions. We do witness the same behavior in many email clients like Gmail when we start typing an email address. Can anyone please guide me how can I achieve this in Java applications. I want it to be like all possible options (based on some soundex algorithm) so that the user could choose on of the strings.
Thanks in advance.