Hi. This is a newbie question.
I have a simple Java program with Swing. An extract:
listData = new Vector();
listbox1 = new JList( listData );
This works, and it displays the contents of the vector in the Listbox on the screen just fine.
The problem is when a button is pressed, the listData vector gets modified. How can I make the listbox "update" to show the new contents?