You are required to write a Graphical User Interface that simulates an ATM by building on the program
you wrote for the midterm exam. Specifically, you will be reading customer information into an array
list, following which your ATM becomes operational for use by your customers for checking account
withdrawal, deposit, and view current balance.
You will be implementing multiple classes. The super class will consist of the name and bank account number (which is assigned sequentially starting at 1001) data members, while the checking account sub class has the PIN and current balance data members. You will use methods within the sub class to withdraw, deposit, or provide the current balance.
Your program must perform the following:
a. Display your Bankā??s name and request the customer to enter their PIN
b. Match the PIN with the correct customer and welcome customer by name.
c. Display a menu that provides options to withdraw, deposit, view current balance, or exit the ATM. You may implement a fast cash option for $10, $20, $50, and $100 for bonus points.
d. If the withdrawal option is selected, request customer to enter the withdrawal amount, ensure the amount does not exceed the current balance, prompt the customer to take the specified amount, display the latest balance, followed by the menu in step 5c.
e. If the deposit option is selected, request customer to enter the deposit amount, echo the deposit amount on the screen, and display the latest balance, followed by the menu in step 5c.
f. Display current balance when selected followed by the menu in step 5c.
g. When customer exits, display the welcome screen in step 5a.
Input text file data (customer name, PIN, and current balance):
Bugs Bunny Jr. 1234 1001.01
Dr. Wiley Coyote 2345 1002.02
Taco Speedy Gonzales 3456 1003.03
Billy the Goat 4567 1004.04
Porky Pig 5678 1005.05
(you may rearrange the data)
This should be completed with only 3 classes (Main--superclass, Bank--subclass, and checking--subclass). This is to ensure that the program is simplified. It's a college assignment and needs to be written with the least amount of code to make it functional. All entries/transactions must be through the GUI and not the keyboard. Use a textarea component for all output and to echo the input if any.
the gui layout should look similar to this please: http://i56.tinypic.com/2d82eqx.jpg