how do i update a jpanel? it's like this... i have a jpanel that contains a scrollpane with a jtable in it. initially, the panel displays the current data of the jtable. then, when a button is clicked, the contents of the table will change so i need to display that updated table again. pls help. tnx!