Hi in my Java swing application I need to show all possible existing entries with same initial
characters while user typing in a text field. Lets say user type letter \'A\'
You could use the autocomplete package from SwingX. Google for "swingx autocomplete" if you need more real life examples, but the simplest way is creating a JComboBox and calling
AutoCompleteDecorator.decorate(comboBox); on it.