[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.
If you're gonna buy things, buy this thing and I get a fat kickback:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter


This thread has been viewed 1137 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 20, 2018 10:58:38.