gvsu/cs623/proj1/RetirementCalculatorModel.java
josh 327cc8b91d added a JScrollPane to vertically scroll content in the main panel
git-svn-id: svn://anubis/gvsu@432 45c1a28c-8058-47b2-ae61-ca45b979098e
2009-10-01 23:20:15 +00:00

53 lines
981 B
Java

import java.util.*;
public class RetirementCalculatorModel
{
/* input fields */
private double myIncomeWanted;
private double myEmployerPension;
private double myPartTimeIncome;
private double myOtherIncome;
private double myAge;
private double myRetirementAge;
private double mySavings;
/* calculated fields */
private double mySocialSecurity;
private double myRetirementIncome;
public RetirementCalculatorModel()
{
reset();
}
public void reset()
{
myIncomeWanted = 0;
myEmployerPension = 0;
myPartTimeIncome = 0;
myOtherIncome = 0;
myAge = 30;
myRetirementAge = 65;
}
public void calculate()
{
}
private double calculateRetirementFactor()
{
return 0.0;
}
private double calculateSocialSecurity()
{
return 0.0;
}
private double calculateSavingsFactor()
{
return 0.0;
}
}