you might want to read this:
The Java Tutorials - How to Use Tables[
^]
The JTable is the graphical view on your table. You can fill it directly with Arrays of Strings - but that does not happen often. Normally you will need a TableModel - you should extend AbstractTableModel for that - which is the data representation for the table.
Follow the Tutorial and make yourself a "playground" beside the real project for that.