Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

I need help with this work. Please provide a detail explanation.

I need help with this work. Please provide a detail explanation. I

want to be able to run the program myself. Thank you.

The second project involves writing a program that implements an ATM machine. The interfaceto the program should be a GUI that looks similar to the following:The program should consist of three classes. The first class should define the GUI and should behand-coded and not generated by a GUI generator. In addition to the main method and aconstructor to build the GUI, event handlers will be needed to handle each of the four buttonsshown above. When theWithdrawbutton 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 to ensure theamount is in increments of $20. At that point an attempt to withdraw the funds is made from theaccount selected by the radio buttons. The attempt might result in an exception being thrown forinsufficient funds, If any of those three errors occur aJOptionPanewindow should be displayedexplaining the error. Otherwise a window should be displayed confirming that the withdrawalhas succeeded. When theDepositbutton is clicked the only necessary check is to ensure that theamount input in the textfield is numeric. Clicking theTransferbutton signifies transferring fundsto the selected account from the other account. The checks needed are to confirm that the amountsupplied is numeric and that there are sufficient funds in the account from which the funds arebeing transferred. Clicking theBalancebutton will cause aJOptionPanewindow to bedisplayed showing the current balance in the selected account. The main class must contain twoAccountobjects, one for the checking account and another for the savings account.The second class isAccount.It must have a constructor plus a method that corresponds to each ofthe four buttons in the GUI. It must also incorporate logic to deduct a service charge of $1.50when more than four total withdrawals are made from either account. Note that this means, forexample, if two withdrawals are made from the checking and two from the savings, anywithdrawal from either account thereafter incurs the service charge. The method that performsthe withdrawals must throw anInsufficientFundsexception whenever an attempt is made towithdraw more funds than are available in the account. Note that when service charges apply,there must also be sufficient funds to pay for that charge.The third class isInsufficientFunds, which is a user defined checked exception.
Background image of page 1
Be sure to follow good programming style, which means making all instance and class variablesprivate, naming all constants and avoiding the duplication of code. Furthermore you mustselect enough scenarios to completely test the program.The application should run in the command line. Sometimes it doesn’t because of differences inthe computer environments, so in addition to the executable file, to ensure that your programreceives the full credit, please provide a Word or PDF document with the following informationwith your submission:IDE used and its version.Steps to run the program using this IDE, including any instructions on how to setup theprogram in IDE, for instance, whether it requires a creation of a new project, etc.Any additional libraries required to run the application.Screenshots demonstrating working application (cut and paste into the Word document orsubmit separately).Test plan, including test cases and testing results, including expected results and theactual results. Table format is preferred over free-form.List all the requirements you haven’t been able to implement, lessons learned from thisproject and what, if anything, you’d do differently.
Background image of page 2
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"