Check out
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
That shows how to use JTable. You can have a method that uses JDBC, gets the data and builds the Table Model. Then use this model for the JTable.
You can find a JDBC tutorial also at the same location.