Now I get confused...
JTable is a part of a swing API so it's handling with how we view the table stated with JTable table = new JTable();
However to do things with database it needs another class, either it's extended from AbstractTableModel or DefaultTableModel. How to state this ?
Second :
JTable(Object[][] rowData, Object[] columnNames)
JTable(Vector rowData, Vector columnNames)
This is what I get from sun website, how or maybe where to put that in the code ?
As far as I read how data handled is dealt on by the class that extends from either the class. Does it mean how it's printed in view on JTable also in the Model ?
Well, if there's any reading on this part, please point on where I can read this.
Thanks in advance