How to get value into jTable

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.