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

This note was uploaded on 04/01/2012 for the course ECON 101 taught by Professor Doc during the Spring '11 term at Yale.

Ask a homework question - tutors are online