{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

2010-03-10_062802_McalcGUI4_Flowchart.java (1)

2010-03-10_062802_McalcGUI4_Flowchart.java (1) - Check...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Flow Chart Start Input Principal amount Loan Term rate Create a Frame and add a panel to it. Add Calculate, reset, quit button, buttons for various interest rates, create text fields for principal, rate and term. Labe them accordingly Create another Frame to display payment information. Add a scroll pane to this frame. Display frames with all components.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Check which button pressed and calculate monthly payment using monthlyPayment = balance * ((monthlyInterest * Math.pow(1.0 + monthlyInterest, months)) / (Math.pow(1.0 + monthlyInterest, months) - 1.0)); Display Payment Principal Interest Balance in paymentArea frame End On pressing close button...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online