Select method created, but not finished

Created the method to select the elements from any table based on its
name, but it is only printing the results on the console, still need to
place them on a JTable and show it to the user via interface