Your Perfect Assignment is Just a Click Away
We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

CMIS242 University of Maryland ATM GUI Program Project

CMIS242 University of Maryland ATM GUI Program Project

CMIS242 University of Maryland ATM GUI Program Project

Project 2
This project involves writing a program that implements an ATM machine.
The interface to theprogram should be a Java GUI that looks similar to the following:
The program should consist of three classes.
1. The first class should define the GUI. In addition to the main method and a constructor tobuild the GUI, event handlers will be needed to handle each of the four buttons shownabove. When the Withdraw button is clicked, several checks must be made. The firstcheck is to ensure the value in the text field is numeric. Next a check must be made toensure the amount is in increments of $20. At that point an attempt to withdraw the fundsis made from the account selected by the radio buttons. The attempt might result in anexception being thrown for insufficient funds, If any of those three errors occur aJOptionPane window should be displayed explaining the error. Otherwise a windowshould be displayed confirming that the withdrawal has succeeded. When the Depositbutton is clicked the only necessary check is to ensure that the amount input in thetextfield is numeric. Clicking the Transfer button signifies transferring funds to theselected account from the other account. The checks needed are to confirm that theamount supplied is numeric and that there are sufficient funds in the account from whichthe funds are being transferred. Clicking the Balance button will cause a JOptionPanewindow to be displayed showing the current balance in the selected account. The mainclass must contain two Account objects, one for the checking account and another for thesavings account.
2. The second class is Account. It must have a constructor plus a method that correspondsto each of the four buttons in the GUI. It must also incorporate logic to deduct a servicecharge of $1.50 when more than four total withdrawals are made from either account.Note that this means, for example, if two withdrawals are made from the checking andtwo from the savings, any withdrawal from either account thereafter incurs the servicecharge. The method that performs the withdrawals must throw an InsufficientFundsexception whenever an attempt is made to withdraw more funds than are available in the2account. Note that when service charges apply, there must also be sufficient funds to payfor that charge.
3. The third class is InsufficientFunds, which is a user defined checked exception.The google recommended Java style guide, provided as link in the week 2 content, should be used toformat and document your code.
Specifically, the following style guide attributes should be addressed: Header comments include filename, author, date and brief purpose of the program.
 In-line comments used to describe major functionality of the code.
 Meaningful variable names and prompts applied. Class names are written in UpperCamelCase. Variable names are written in lowerCamelCase.
 Constant names are in written in All Capitals.
 Braces use K&R style.In addition the following design constraints should be followed:
 Declare all instance variables private
 Avoid the duplication of codeTest cases should be supplied in the form of table with columns indicating the input values, expectedoutput, actual output and if the test case passed or failed.
This table should contain 4 columns withappropriate labels and a row for each test case.
Note that the actual output should be the actual resultsyou receive when running your program and applying the input for the test record. Be sure to selectenough different scenarios to completely test the program.
Note: All code should compile and run without issue.
Text file (PRJ2Accounts.txt) data that must be read by program:
7623, S, Jones, Phyllis, 2000.00, 0
7623, C, Jones, Phyllis, 1200.00, 2
8729, S, Smith, Cletus, 1000.00, 1
8729, C, Smith, Cletus, 1700.00, 0
7321, S, Booth, Betty, 4500.00, 2
3242, C, Seybright, Sam, 4612.00, 0
3242, S, Seybright, Sam, 100.00, 3
9823, S, Blu, Oscar, 234.00, 2
9823, C, Blu, Oscar, 2345.00, 0
2341, S, Grief, Sally, 12373.12, 1
2341, C, Grief, Sally, 5421.12, 2
8321, S, Matchel, Jacues, 2314.00, 0
8321, C, Matchel, Jacues, 56233.00, 0

“Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results.”

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Topnotch Essay only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided byTopnotch Essay are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Topnotch Essay is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Topnotch Essay, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.