Λογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 5 χρόνια και 10 μήνες)

736 εμφανίσεις

207

Future Value Calculator

(
Notice how the result is formatted in currency
!)

Create a
Desktop Application
project
in Netbeans
and name it the
following:

crow(period)_
207
_(LastName
FirstInitial
)

You will be turning the entire project folder into the

CLASS DROP folder when you are
finished.

Introduction:

If you have \$1000 in a bank account, and that account has an interest rate of 3% per year,
your account will have \$1,030 at the end of the year.

Here’s how I got \$1,030: (\$1,00
0 + (\$1,000 * .03)) = \$1,030

You leave that \$1,030 in the bank for another year. At the end of Year 2 your bank
account has \$1,060.90.

Here’s how I got \$1,060.90: (\$1,030 + (\$1,030 * .03)) = \$1,060.90

\$1,000 is known as the
Present Valu
e
. \$1,060.90 is the
Future Value

at the end of Year
2. The Future Value takes into account the
compounding

of
interest
over time.

How can you find the Future Value of \$1,000 for Year 89? A
-
ha! There is a very simpl
e

equation you can use to find the Fu
ture Value:

Future Value = Present Value * (1 + Interest Rate) ^ Number of Years

I
nstructions:

You will create a program that calculates the Future Value based on the Present Value,
Interest Rate, and Number of Years.

Requirements:

You will use th
e Netbeans GUI Builder to create a Windows program that has the
following:

-
A Panel with a title and a border

-
Text Field for Present Value

-
Text Field for Interest Rate

-
Text Field for Number of Years

-
A Label with a border that displays the Future V
alue

-
A Calculate button that uses an Event Listener to calculate the Future Value

-
The Future Value is displayed in currency format

-
A Clear button that resets the Text Fields

-
An Exit button

-
Change the color of the panel.

-
Create documentation
com
ments for all of the
non
-
generated code
.

-
Save this project to your Flash Drive. The entire FOLDER will go in the CLASS folder
on the due date. Make sure that your
Java application w
orks correctly
.

-
Check http://calendar.yahoo.com/s
tirlingcrow/ for when this assignment is due. (Click
on the Month tab)

--------------------------------------------------------------

Rubric:

Assignment
207
:

5

points:

The Netbeans GUI Builder was used to create a Windows program that has the

follo
wing:

-
A Panel with a title and a border

-
A Text Field for Present Value

-
A Text Field for Interest Rate

-
A Text Field for Number of Years

-
A Label with a border that displays the Future Value

-
A Calculate button that uses an Event Listener to ca
lculate the Future

Value

-
The Future Value was formatted in currency format.

-
A Clear button that resets the Text Fields

-
An Exit button

-
The color of the panel was changed.

-
-
generated code.

4

points
:

-
Prog
ram works correctly.

-

-
2 or more mistakes.

3

points:

-
The program is functional, but it has errors.

-
4 or more mistakes.

2
points:

-
The program used various concepts, but did not work correctly.

1

point:

-
Mr. Crow is unable

to view files.