wood burning stoves 2.0*
The moose likes Applets and the fly likes Java applet program (together with its html test file) to calculate loan payments. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Java applet program (together with its html test file) to calculate loan payments." Watch "Java applet program (together with its html test file) to calculate loan payments." New topic
Author

Java applet program (together with its html test file) to calculate loan payments.

mike saggese
Greenhorn

Joined: Nov 27, 2012
Posts: 8
hi, I need help with a new assignment. I have to write a Java applet program (together with its html test file) to calculate loan payments. The user will provide the interest rate, the number of years, and loan amount

this is what I have so far



if anyone can help me that would be great. thank you
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

mike saggese wrote:hi, I need help with a new assignment. I have to write a Java applet program (together with its html test file) to calculate loan payments. The user will provide the interest rate, the number of years, and loan amount

this is what I have so far

if anyone can help me that would be great. thank you


Do you have a question?


Steve
mike saggese
Greenhorn

Joined: Nov 27, 2012
Posts: 8
Steve Luke wrote:
mike saggese wrote:hi, I need help with a new assignment. I have to write a Java applet program (together with its html test file) to calculate loan payments. The user will provide the interest rate, the number of years, and loan amount

this is what I have so far

if anyone can help me that would be great. thank you


Do you have a question?


yes actually. I was trying to write a java loan calculator applet and I'm having some trouble. here's my code


tried
At line 72 the error is that it cannot find symbol. its where the Loan loan = new Loan(interest, year, loanAmount); is. I've tried adding public class loan and that didn't work. I've tried the no class found def exception and that didn't work either. I also know that Nothing in the above code indicates that I actually have a Loan class. Is this a different package and I'm just missing an import. Any help would be great. thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java applet program (together with its html test file) to calculate loan payments.