File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes calculation problem in my applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "calculation problem in my applet" Watch "calculation problem in my applet" New topic

calculation problem in my applet

MaryEllen Volb
Ranch Hand

Joined: Jan 31, 2001
Posts: 35
Could somebody try to compile this code and maybe tell me what is wrong? It compiles and runs, but the future value calculation comes out wrong. Any help is appreciated!!!
Mary Ellen program will calculate the future value of an investment
at a given interest rate for a specified number of years. The program will
enable the user to enter the interest reat, investment amount, and years to
predefined text fields set by the programmer. The future value will be
displayed when the user clicks on the "calculate" button.

(edited by Cindy to format code)
[This message has been edited by Cindy Glass (edited April 13, 2001).]
MaryEllen Volb
Ranch Hand

Joined: Jan 31, 2001
Posts: 35
You rule!!! I mean....thanks
Mary Ellen
I agree. Here's the link:
subject: calculation problem in my applet
Similar Threads
Multiple Windows in Applets
Adding Record Problem in JDBC ?
calculation problem with applet
JMenuBar in an Applet : Good vs Bad Code Practice?
Java GUI development question.