fatcodeguy
Programmer
Hi, this is the first time I use a JList and I'm having a bit of a problem. This is how I instantiate my JList
Vector names = new Vector();
JList namesList = new JList(names);
But when I make changes to the list, such as adding new elements to the vector, or changing names, it doesn't update the list.. how do I do this? Appreciate any help.
Thanks.
Vector names = new Vector();
JList namesList = new JList(names);
But when I make changes to the list, such as adding new elements to the vector, or changing names, it doesn't update the list.. how do I do this? Appreciate any help.
Thanks.