I'm being create a dictionary. In the dictionary have feature search the word. if user entering the character "g" the word view in JList will show the word begin with "g". i try this first using Linier Search, it found the word, but linier. i mean if i input the "g" the view not show the word with begin "g", but i must type the next character to find the exact word. but i want if the user input g, the related word that begin with g will show for the first in JList. below i put my screenshoot. the first is when i open the sample dictionary and the second image if i enter the g the list will change to view the word begin with g. How can i create the search like that?please help me!!.