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.