Results 1 to 2 of 2
- 01-13-2011, 01:22 PM #1
Member
- Join Date
- Oct 2010
- Posts
- 16
- Rep Power
- 0
Populating a JList from a text file - Netbeans
Hi all,
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 :-).
Thanks
Ben
- 01-13-2011, 03:30 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,619
- Rep Power
- 5
Similar Threads
-
Adding to JList with Netbeans
By kewlgeye in forum NetBeansReplies: 7Last Post: 03-28-2012, 07:39 PM -
populating a JList
By hariza in forum AWT / SwingReplies: 2Last Post: 09-30-2010, 03:53 AM -
Populating the values in text fields
By Inaam in forum Web FrameworksReplies: 2Last Post: 07-26-2010, 08:55 AM -
Populating JTable with 2 arrays (Netbeans)
By althair in forum AWT / SwingReplies: 3Last Post: 12-30-2009, 02:05 PM -
How do I display a JList with icons and text?
By aneesahamedaa in forum AWT / SwingReplies: 2Last Post: 09-04-2008, 08:49 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks