How do I refresh java table?

Can any one tell me, how do I refresh table using java language in desktop application?
Actually I made one application that take input from user and save into database.
But java table does not show new data which i inputted into database.
