I would look into the tutorials from Oracle:
When you get the data from the text file you would need to put it into a 2D Array and use that 2D array (along with the columnNames array) to create a new JTable Object. (more details are found in the JTable Tutorials)