Here's an outline of how you might proceed:
As you are new, abandon the NetBeans GUI editor, implied in your previous question, but continue to use the NetBeans IDE.
Study the I/O Streams tutorial examples.
Following this example, write a method that reads your data file and fills in your
TableModel
with theString
values found, e.g.List<String> columnNames = new ArrayList<String>(); List<List<String>> rowData = new ArrayList<List<String>>();