|
searching within a JList
hello, I have a bunch of empty textfiles i am using to represent as songs to test a music player im working on for an assignment. basically i use my open button to allow the user to search directories, and i select the folder with all these textfiles. all of the artists are shown in a JList. I have a textfield with the button search beside it, I want to allow the user to type in an artist, and have my program search for the artist within the JList and find it. how can I do this??
|