I'm trying to read in data from a file and then display the data in a table.
I've just managed to read the data into a
string. I printed the data out in the command line just to check it was working and it was.
Then I tried to add the DefaultTableModel, but I got a it confused as to what code should be in which method and I can't get my program to compile now.
I think the code is all right, I've just got bits of it in the wrong place.