help clearing a jlist
I'm using netbeans 5.5. I have a couple of Jlists on a gui and a button click event that populates the Jlists.
I am trying to make it so that everytime the button is clicked, it clears the Jlist's first before populating them. Currently when the button is clicked it just appends the new population items to the previous lists.
The code I've been using is..
list Model.clear();
Jlist.validate();
I have this code in the button click event method right after the listModel's are assigned to the proper Jlists.
(obviously I have them using variable names in my code)
Anyway, this doesn't give me any errors, but it also doesn't clear the lists.
I've tried a few different things, but I have no idea why this isn't clearing the lists.

