Create Transaction form to manage account balance. Use GUI. Have file, edit and about menu bar. Add summary, transaction and exit items to file menu. create 3 radio buttons for deposit, check and service charge. have a calculate button and exit button. 1. Create transaction Options: Deposits add to balance Checks subtract from balance if balance > check then subtract check from balance else Display Insufficient Funds Message and Subtract Service Charge ($10) from balance Service Charge ($10) subtract from balance 2. Use Abstract Class Transaction to create classes: class Deposit class ServiceCharge class Check override the abstract function calculateBalance() in each class to perform the appropriate calculations on balance throw an Exception in class Check.calculateBalance() Check Amount is greater than Balance issue Insufficient Funds Message by throwing Exception in class Check.calculateBalance() Use try catch to display the message from calling class. Summary Message after each successful transaction or when Summary is selected from Menu display about box
Get Answers For Free
Most questions answered within 1 hours.