eh, do this instead:
total += Integer.parseInt(table.getValueAt(n,1).toString());
I think you can alternatively do:
total += ((Integer)table.getValueAt(n,1)).intValue());
Type: Posts; User: aussiemcgr
eh, do this instead:
total += Integer.parseInt(table.getValueAt(n,1).toString());
I think you can alternatively do:
total += ((Integer)table.getValueAt(n,1)).intValue());
Ok, I understand what you are saying.
This is actually quite simple. You know the row directly above the row you are adding to has the total. And you know how much you want to add to that total to...