This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GUI Mortgage Calculator

 
Khrystyne Alcala
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having the hardest time trying to figure out how to have my code calculate and display. The GUI portion is finally done, now I need help with the calculations. The current formula is a borrowed one from a web site I was looking through for answers to this question, I think this may be my problem. My original formula is at the end of the code.Could someone please help me?


 
Jeff Eltgroth
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your calculation agrees with Excel. I used the default values in the function:

=PMT(5.75/100/12, 30*12, 100000)

The result is (583.57) which agrees with the answer in the GUI app.
 
Khrystyne Alcala
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess I should've been more descriptive about my problem. I can't get it to calculate with different field inputs, when the "Calculate" button is pressed, nothing happens.

Can you help?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Khrystyne,

Welcome to JavaRanch!

First, a bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. Initials aren't enough. You can change your display name here. Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic