Question: For this project we are not providing any code. You need to create an Eclipse project named InterestTable . In that Eclipse project feel free

For this project we are not providing any code. You need to create an Eclipse project named InterestTable. In that Eclipse project feel free to add any classes/packages you understand you need. To simplify the grading process, make sure you have a class named InterestTableGUI.java. This class must have a main method that allow us to run your application.

Specifications

  1. You need to implement a GUI that displays interest tables ranging from 1 up to 25 years. The tables are generated by selecting the appropriate button and based on the principal, rate and years values provided. One table displays simple interest, the second compound interest and the third a combination of simple and compound interest. See the provided video for table format information.
  2. The formula to compute simple interest amount is:
     simple interest amount = principal + (principal * (rate/100) * years)
  3. The formula to compute compound interest amount is:
     Compound Interest Amount = principal * (1 +rate/100)Years You do not need to add the principal in this case. 
  4. To display currency you can use the NumberFormat class (part of java.text) as follows:
     String formattedValue = NumberFormat.getCurrencyInstance().format(value); where value represents the numeric value to format. 
  5. You can assume we will not resize your GUI. You don't have to worry about a GUI that adapts when the user resizes the window.
  6. You will not lose points if your GUI does not look exactly as in the video. As long as it is close, you are fine (75% is close enough :)). We are not going to penalize you because it is not well aligned, etc.
  7. Unless the project specification states otherwise, you can assume all input will be correct (e.g., correct format, etc.)
  8. You can assume input has been provided when a button is selected.
  9. You can use JavaFX TableView.
  10. You may not use prompt fields instead of text fields.
  11. You can use String.format("%.2f", value) to format values.
  12. You can use java.util.Math.
  13. The code that computes interests should be implemented in a class named Interest. The class should have methods that compute simple and compound interest. This class should not make any reference to GUI elements. By computing the interests in a separate class, you will satisfy the Model-View-Controller requirement. Do not use a nested/inner class to satisfy the MVC Requirement.
  14. You may NOT use Swing; you must use JavaFX.
  15. Make sure you have a class named InterestTableGUI.java. This class must have a main method that allow us to execute your application.
  16. No student tests are required for this project.
  17. Your project will be graded by running the main method associated with the InterestTableGUI.java class.
  • (40%) GUI
    • (5%) display area
    • (5%) principal text field
    • (5%) rate text field
    • (5%) years slider
    • (5%) simple interest button
    • (5%) compound interest button
    • (5%) both interest button
    • (5%) labels (Principal:, Rate(Percentage):, Number of Years:)
  • (5%) Correct computation of simple interest
  • (5%) Correct computation of compound interest
  • (10%) Correct computation of both interests
  • (30%) Implementation of functionality associated with GUI
    • (10 pts) One inner class (non-anonymous) to handle some computation (e.g., button event)
    • (10 pts) One inner class (anonymous) to handle some computation (e.g., button event)
    • (10 pts) One lambda expression to handle some computation (e.g., button event)
  • (10%) Project implemented using Model-View-Control paradigm
  • For this project we are not providing any code. You need toClick simple interest
  • create an Eclipse project named InterestTable. In that Eclipse project feel freeClick compound interest
  • to add any classes/packages you understand you need. To simplify the gradingClick both interest

Interest Table Calculator 5 -->$7,650.00 6-->$7.980.00 7-->$8,310.00 8-->$8,640.00 9-->$8,970.00 10-->$9,300.00 11-->$9,63000 Principal: 6000 Rate(Percentage): 5.5 Number of Years: 1 5 9 13 17 21 25 SimpleInterest Compoundinterest BothInterests " Interest Table Calculator Principal: $6,000.00, Rate: 5.5 Year, Compound Interest Amount 1 -->$6,330.00 2-->$6.678.15 3 -->$7.045.45 4 -->$7,432.95 5-->$7.841.76 6-->S8 273 06 Principal: 6000 Rate(Percentage): 5.5 Number of Years: 1 5 9 13 17 21 25 SimpleInterest Compoundinterest Bothinterests . XI Interest Table Calculator 2-->$6.660.00->$6.678.15 3.-36,990.00 -->$7,045.45 4 -->$7,320.00-->$7.432.95 S-->$7.650.00-->$7.841.76 6-->$7.980.00-->$8,273.06 7-->$8.310.00-$8.728.07 8-->$8:640.00 - $9.208.12 9-->$8.970.00-->$9.714.57 Principal: 6000 1 Rate(Percentage): 5.5 Number of Years: 1 59 13 17 21 25 SimpleInterest Compoundinterest BothInterests Interest Table Calculator 5 -->$7,650.00 6-->$7.980.00 7-->$8,310.00 8-->$8,640.00 9-->$8,970.00 10-->$9,300.00 11-->$9,63000 Principal: 6000 Rate(Percentage): 5.5 Number of Years: 1 5 9 13 17 21 25 SimpleInterest Compoundinterest BothInterests " Interest Table Calculator Principal: $6,000.00, Rate: 5.5 Year, Compound Interest Amount 1 -->$6,330.00 2-->$6.678.15 3 -->$7.045.45 4 -->$7,432.95 5-->$7.841.76 6-->S8 273 06 Principal: 6000 Rate(Percentage): 5.5 Number of Years: 1 5 9 13 17 21 25 SimpleInterest Compoundinterest Bothinterests . XI Interest Table Calculator 2-->$6.660.00->$6.678.15 3.-36,990.00 -->$7,045.45 4 -->$7,320.00-->$7.432.95 S-->$7.650.00-->$7.841.76 6-->$7.980.00-->$8,273.06 7-->$8.310.00-$8.728.07 8-->$8:640.00 - $9.208.12 9-->$8.970.00-->$9.714.57 Principal: 6000 1 Rate(Percentage): 5.5 Number of Years: 1 59 13 17 21 25 SimpleInterest Compoundinterest BothInterests

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!