[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


This thread has been viewed 1169 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jun 19, 2018 14:29:24.