Honestly am writing an application and am stuck at this point.
problem is am writing an asset derpreciation application and i am calculating for Monthly Depreciation,End-of-year value ,Accumulated depreciatio.I want get the results of the values in this form in my jTable when the calculation is done.
for example when i enter the number of months, it should display the results over that number,so if it is 7 it should display as below.
Monthly End-of-year Accumulated
Months Depreciation value depreciation
---- ------------ ----------- ------------
1 4000 24000 4000
2 4000 20000 8000
3 4000 16000 12000
4 4000 12000 16000
5 4000 8000 20000
6 4000 4000 24000
7 4000 0 28000
how to get this in my jtable is now my headache. I will appreciate the assistance very much thank you