[Logo]
Forums Register Login
JTable Sum Column
How i can sum up first and second columns and put the total to the last column.
Anyone have sample?

thanks.
What have you tried so far and were are you stuck?
Hint: All the data displayed in the table originates from the underlying model.
A hint would be to look at the TableModel api. Especially the getValueAt method comes to mind.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Dec 13, 2017 00:55:09.