You are on page 1of 1

The Mortgage Calculator was constructed using a collection of components

like Groupbox, TextBox, Panel, RadioButton, Label, ListView and Buttons.


The "Calculate" button computes the monthly payment and builds the
detailed view of the monthly break up. The "Show Details" opens ups
detailed view of the monthly payment. It also works like a switch to hide and
open up monthly details.
The numeric fields (Text boxes) prevents non-numeric entry. For building
monthly details information a MonthlyDetail object is created for each month
and loaded into a ArrayList ( Done in Function CalculatePayments). The
elements in the ArrayList is processed to build the ListView(Done in
buildTree), in this call the listview items and its associated subitems are
created as required.

You might also like