Getting data of particular column in JTable and sum it up..
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   gaurav_satwalkar
Posted On:   Wednesday, December 22, 2004 09:20 AM

I am using JTable in my application, which has decimal values in certain columns.

Can any one help me to get the total of those values (for a particular column at a time) and display it as an additional row in JTable itself?

A | B | C
--------------------------------
1232.2 | 21.434 | 432432.54354
--------------------------------
321321 | 33.32 | 21321.432
--------------------------------
1232.2 | 21.434 | 432432.54354
--------------------------------
--------------------------------
Total A|Total B | Total C

About | Sitemap | Contact