Hey..
I've written this code, which creates a table with a scrollpane, and loads the results of a search, when a button is pressed.
The problem is that each time i press the button a new jtable is created. How can i make it either:
a) refill the same table
b) remove the table and make another one which displays the new results.
My code:
Thanks
I've written this code, which creates a table with a scrollpane, and loads the results of a search, when a button is pressed.
The problem is that each time i press the button a new jtable is created. How can i make it either:
a) refill the same table
b) remove the table and make another one which displays the new results.
My code:
Thanks