Populating a JList from a text file - Netbeans
I'm just brushing up on my Java and have pretty much fallen at the first hurdle. So I'll start at the first problem and work from there.
What I have:
I've got my GUI designed in Netbeans all looking how I want it - Yay.
I have my text file with a list of single words.
What I need:
I want my GUI to read this list of words in the text file and display them in a JList I've created.
Then later, I have a field underneath where the user can enter more words and commit them too the list.
Can anyone help?
If more details are needed please let me know :-).