posted 12 years ago
I'm trying to get a jtable to display information stored in an array which is populated by reading a text file:
The getAssNames method is then called here:
I'm trying to get the jTable to have 5 columns: date, class name, assignment name, complete? and notes. I see that the DefaultTableModel requires either an Object[] and an int as args or Object[][] and Object[] - can you guys explain this a bit more for me? So far I have the table displaying all of the values from the tokenizedAssNames array as column names.
Thanks!!