I have an ArrayList of Track objects. Each Track object has the following fields (all Strings):
url, title, creator, album, genre, composer
I want to display these tracks in a JTable, with each row being an instance of a Track object, and each column containing one of the properties of a Track object.
How can I display this data using a JTable? I've used an AbstractTableModel that implements the getValueAt() method correctly. Still, I dont see anything on the screen.
Or is it easier just to use arrays?