1.) Don't pass a connection into that method. Create the connection in that method, use it and close it in a finally block.
2.)You need to read Sun's tutorial on the TableModels section to learn how to display data in a JTable.