I need to create a JTextField search where users can enter input and matching entries in my arraylist of objects are returned in a JTextArea.
How can I return entries even if they have only entered part of say a movie title. For example, if the user enters only an "a" how can i return all entries within the ArrayList that begin with an a e.g abducted, aeon flux. Another example would be if the ArrayList contained a title "Harry Potter" how would i return this entry if the user only enters "harryp". It needs to work regardless of case.