I am trying to use the command getValueAt(i,0) to save all of the values in column 1, rows 1 to i. Those values come out as objects. How can I save them to the format double and int so that I can save them in an another class?
object date = jtable1a.table.getValueAt(i,0);
data.ext_dates = Double.valueOf(date[i]); // This line obviously doesn't work; im trying to save "date[i] to data.ext_dates which is the type double. I also need to do the same thing for int.