Modify mortgagedisplaygui.java to implement actionlistener

Assignment Help JAVA Programming
Reference no: EM13942242

Modify MortgageDisplayGui.java to implement ActionListener.java

- Associate the current action listener with

- Write the action Performed function to perform the following tasks:

o Interrogate the ActionEvent object and determine the source of the action.

o Based on the source of the action call one of four functions

 Quit()
 Calculate()
 Exit()
 ViewAmortization()

-Modify the mortgage program to add the following behaviors

o The Calculate button actions

 Determine the payment, based on user input and using the calculator work from UTIL package (modify if needed).

Display the configured payment in the payment box.

o The Reset button actions

 Reset all the values in the text fields to blank
 Reset the values in the calculator to new or empty

o The Quit button

 Exits the System

o The viewAmortization button

 Pop up a dialog that displays the payment matrix in a JTextArea that is inside a JscrollPane. Use the toString ()function already in the Row class to write each line of the amortization table to the dialog.
 The dialog class will be called ScheduleDialog.java and will inherit from the JDialog class. The dialog constructor will take a Vector as an argument.
 Package the ScheduleDialog.java in the src.calculator.gui.

-Modify the mortgage program to disable the viewAmortization button if there is no payment displayed and enable it when there is a payment displayed.

Attachment:- Modify MortgageDisplayGui.zip

Reference no: EM13942242

Questions Cloud

Her and peter will attend the meeting this afternoon : Most people these days have the recognition that it is important to express ideas as concisely as possible. If I had known you were coming, I would of baked a cake.
Total interest amount you will pay over the life of the loan : Loan Amortization Problem Type your full name in the following order First Middle Last Number of letters in full name = Now assume that your annual salary = number of letters in your full name x $45,000 and that the bank you want to borrow from. Calc..
Calculate the restocking costs : Clap Off Manufacturing uses 2,300 switch assemblies per week and then reorders another 2,300. Assume the relevant carrying cost per switch assembly is $6.00 and the fixed order cost is $570. Calculate the restocking costs. Calculate the economic orde..
Overall cost of debt is weighted average of that implied : Vedder, Inc., has 6.1 million shares of common stock outstanding. The current share price is $61.10, and the book value per share is $4.10. Vedder also has two bond issues outstanding. Assume that the overall cost of debt is the weighted average of t..
Modify mortgagedisplaygui.java to implement actionlistener : Interrogate the ActionEvent object and determine the source of the action.
Annuity and retirement-calculate the price of stock : Annuity/Retirement A. If you deposited the following amount per month (letters in your last name X $80) from your paycheck from the time you graduate from school until you retire (at age 75) and your employer contributed an extra 6%, how much wealth ..
Kim had the following transactions : Kim had the following transactions for 2012:
The normal selling price : The normal selling price is $22 per unit. The company's capacity is 10,600 units per month. An order has been received from a potential customer overseas for 2,300 units at a price of $19.00 per unit. This order would not affect regular sales.
Isle royale, an island in lake superior : Isle Royale, an island in Lake Superior, has provided an important study site of wolves and their prey. Of special interest is the study of the number of moose killed by wolves. In the period from 1958 to 1974, there were 296 moose deaths identifi..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a program that allows a user to enter a line of text

write a program that allows a user to enter a line of text counts number of words and number of vowels in the sentence

  Create a product class that holds the item number

Create a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit. Create a Java application that displays the product number, the name of the product, the number of units in stock..

  Write java program to accept two words as input

Write a Java program that accepts two words as input and determines if one of them is resulting from changing the order of the others' letters.

  Complete and fully test the class characteristic

Complete and fully test the class Characteristic that Exercise explains. Suppose a class Characteristic that will be used in an online dating service to assess how compatible two people are.

  Personalize the time zone application of section 24.3

Personalize the time zone application of Section 24.3. Prompt the user to log in and specify a city to be stored in a profile. The next time the user logs in, the time of their favorite city is displayed automatically.

  Write code that will save data to a file

The user will enter a Drexel course code. The course code beings with two capital letters, followed by an optional hyphen, followed by 3 digits, and followed by an optional section number

  Simple single-server queue has one line of waiting

simple single-server queue has one line of waiting customers and one server who wait on customers. suppose that

  Length of the string in order to reserve space

To determine the length of the string in order to reserve space for the new string use the library routine strlen. Register a1 contains a pointer to the string to measure and on return register a1 has the number of characters in the string. You..

  Echo client-server application

ASSIGNMENT 1- An echo client-server application, You are required to develop an application that allows clients running on MS Windows platforms to send sequences of strings to an echo server running on a windows platform

  Prompt the user for a series of numbers

Prompt the user for a series of numbers that may be either a binary number or a decimal number.

  Create a table that depicts the runtime for arrays

Create a table that depicts the runtime for arrays of length 1 to 10. Would you expect the general runtime to be O(n), O(n2), O(n3), or some other function of n? Explain

  Size of the frame to be set a little bit larger than content

I need the size of the frame to be set a little bit larger than its content, which is a label. Also, the location could be set so that it could be appeared not at the upper left corner of the screen. And we can set the foreground and background co..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd