I have an example on this blog on how you can display mysql data into JTable. Let us make a MySQL table and load some data into it and we are going to make a form and display those data in jtable. You can make this example as your reference in your project. I hope this one helps for you.
Example java swing form with tables that displays mysql data queries. In this example, a table from MySQL database test called employees is selected and displays directly into the table if it can connect to the database.
The loadEmployees is a method to display mysql table employees into jtable and clearTable will remove or clear simply the table.
I hope this one will give you an idea on how you can connect to mysql table and display its data using select statement and make it display on jtable.