Question: 1. For this exercise you will have to update the JavaBank application to include an option for the customer to choose their account type

1. For this exercise you will have to update the JavaBank application to include an option for the customer to choose their account type when they create an account. This will include some changes to the GUI to accommodate the new features. Follow the given instructions to update the bank application's user interface. a. Add a private JComboBox named accountTypes above the MAXACCOUNTS statement. Also create a private field named actType of type AccountType that will store the type of chosen account, this should be set to the default savings account. //combo box to display the account types. private JComboBox accountTypes; private AccountType actType = AccountType.SAVINGS; // constants //public final static Maximum Accounts that can be created;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
