Results 1 to 1 of 1
Thread: jList again
- 01-05-2011, 12:25 PM #1
Member
- Join Date
- Jan 2011
- Posts
- 1
- Rep Power
- 0
jList again
Hey, I'm new here (just found out it existed) and have gone through several posts already about adding to jList. Coming from a Microsoft background and being able to easily add items to a listbox in VB, this is a little foreign to me.
What I want to do is to use NetBeans to create a GUI application where I can generate lottery numbers, then add them to the list. The user will choose whether they want 1 pick or many. I think I can handle the number generation part, I just want to add them to the jList once they are generated. I keep seeing reference to a listener, a model and such, but am not yet able to figure out how to do this. The jList already exists on my form, but even with the code completion I can't seem to figure out how to do it!
Will I need to add another class for this? I know I'll use one to do the number generation and the random stuff, along with sorting and all, but I need to figure out how to use the model and such to add to this existing jList. Any help?
G.
Similar Threads
-
Link one JList to another JList
By mib1bee in forum AWT / SwingReplies: 1Last Post: 12-31-2010, 07:10 PM -
Link one JList to another JList
By mib1bee in forum Advanced JavaReplies: 1Last Post: 12-30-2010, 06:35 PM -
Link one JList to another JList
By mib1bee in forum New To JavaReplies: 1Last Post: 12-30-2010, 06:24 PM -
JList
By pinks_70986 in forum New To JavaReplies: 1Last Post: 02-12-2009, 08:36 AM -
About JList
By hungleon88 in forum Advanced JavaReplies: 5Last Post: 08-30-2008, 09:24 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks