I\'m trying to write a JTable that takes the data from a ResultSet and uses that to create a dynamic sized table with appropriate column names and row data values from the R
Column index starts by 1. So increase your variable pointing column variable by 1.