Question
You will design and create your own GUI application for the Bank project. This project should be designed and written by Java programming. The requirements
You will design and create your own GUI application for the Bank project. This project should be designed and written by Java programming.
The requirements of the program:
1. The program will be best implemented as a multi-file program for each class.
2. The parameters and return types of each function and class member should be decided in advance. You may need to add more member variables and functions to the classes than those listed below. Also, you can throws any user-defined exceptions or any possible exceptions.
3. You will create the following class:
A. Design a generic class to hold the information about a Bank. Bank has customers
B. Design a class to hold the information about a Customer. A Customer has an account number and at least one/ or more banking account(s), and all the information about the customer.
C. Design an abstract class to hold the information about a BankingAccount. Balance, number of deposits this month, number of withdrawals, annual interest rate, monthly service charges, etc
The class should have the following member functions: Constructor, deposit, withdraw, monthly process, etc
D. Design a SavingsAccount class, derived from the generic BankingAccount class. If the balance of a savings account falls below $25, it becomes inactive. No more withdrawals may be made until the balance is raised above $25, at which time the account becomes active again.
The savings account class should have the following members functions for withdrawing, deposit, status, etc
E. Next, design a CheckingAccount class, also derived from the generic BankingAccount class. Implement the base classs withdraw function, this function will determine if a withdrawal (a check written) will cause the balance to go below $0. If the balance does below $0, a service charge of $15 will be taken from the account. If there isnt enough in the account to pay the service charge, the balance will become negative and the customer will own the negative amount to the bank. service charge for the check written over 5 will add the monthly fee of $5 plus $0.10 per withdrawal (check written). if the check written is below and equal to 5 checks, it will be no charge.
F. Design and create a GUI BankGUIFrame class that allows the user to enter the customers information as well as the amounts of withdrawals and deposits for a saving account and checking account. The program should display statistics for the month, including beginning balance, the total amount of deposits, total amount of withdrawals, service charges, and ending balance. Use GUI components. Event handlings for some GUI components.
G. Write a driver BankGUITest class that demonstrates how each of conditions work.
H. The program also need to prevent any exceptions to occur.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started