Serialized Form

Class mortgagecalculator implements Serializable

Serialized Fields

annualRate

java.awt.TextField annualRate
editable textfield created for entering the APR offered by the lender

cb

java.awt.CheckboxGroup cb
New constructor created for types of graph

graph

StringCanvas graph
New constructor created for types of graph in String Canvas

input

StringCanvas input
New constructor created for input values in String Canvas

interestPaid

java.awt.TextField interestPaid
non-editable textfield created for interest paid during the loan period

loanAmount

java.awt.TextField loanAmount
editable textfield created for loan amount taken as a loan

mon

java.awt.TextField mon
non-editale textfield created for displaying the number of months for the loan payment

monthPay

java.awt.TextField monthPay
non-editale textfield created for displaying the monthly payment

numberYears

java.awt.TextField numberYears
editable textfield created for entering the number of years for which the loan is taken

paidInterest

java.awt.Checkbox paidInterest
checkbox button for interest paid graph

paidPrincipal

java.awt.Checkbox paidPrincipal
checkbox button for principal paid graph

pc

PaymentCanvas pc
New constructor created for payment display

principalPaid

java.awt.TextField principalPaid
non-editable textfield created for principal paid during the period

principalUnpaid

java.awt.Checkbox principalUnpaid
checkbox button for unpaid principal graph

title

TitleCanvas title
New constructor created for title Title Canvas

unpaidPrincipal

java.awt.TextField unpaidPrincipal
non-editable textfield created for unpaid principal amount


Class PaymentCanvas implements Serializable

Serialized Fields

apr

double apr
variable to display the APR(Annual Percentage Rate) in the textfield

g

java.awt.Graphics g
The graphics context of the instantiating applet

height

int height
varianle determines the height of the drawing canvas

imageObject

java.awt.Image imageObject
contstuctor to create an image variable to create an image on the applet panel

interestPaid

java.awt.TextField interestPaid
textfield for Interest paid during the period

mon

java.awt.TextField mon
textfield for months

monthlyPayment

double monthlyPayment
variable to display the monthly payment

monthPay

java.awt.TextField monthPay
textfield for Monthly payment

months

int months
variable to input the number of months the mortgage is taken

paidInterest

java.awt.Checkbox paidInterest
Checkbox to select the type of graph for interest paid

paidPrincipal

java.awt.Checkbox paidPrincipal
Checkbox to select the type of graph for Principal paid

principal

int principal
variable to display the principal amount on the applet textfield

principalPaid

java.awt.TextField principalPaid
textfield for Principal paid

principalUnpaid

java.awt.Checkbox principalUnpaid
Checkbox to select the type of graph for unpaid principal

unpaidPrincipal

java.awt.TextField unpaidPrincipal
textfield for unpaid Principal amount

width

int width
variable determines the width of the drawing canvas

xborder

int xborder
variable representing the x coordinate of the graph canvas

xincr

double xincr
variable to increment the loop value to draw the graph according to value changes

yborder

int yborder
variable representing the y coordinate of the graph canvas

years

int years
variable to display the number of years on the applet textfield


Class StringCanvas implements Serializable

Serialized Fields

string

java.lang.String string


Class TitleCanvas implements Serializable

Serialized Fields

title

java.lang.String title