Question
Modify your program from Assignment # 7 part b (see below for code) by creating an interactive GUI application that displays the list of the
Modify your program from Assignment # 7 part b (see below for code) by creating an interactive GUI application that displays the list of the orders read in from the file (create a data file using your CreateBankFile.java program which has a least 10 bank account records in it and include it with your submission) and the total number of bank accounts. When your program starts it will first read the records from the Bank Account file (AccountRecords.txt) and creates an array of BankAcct objects. The user of the application will then be able to have the bank accounts sorted (sorting the array of BankAcct objects) in the list by either, Customer #, Customer name, or Customer balance. Save your application as GUIBankAcctSorter.java.
Assignment # 7 part b code will be the basis of the above assignment:
Part one;
The Rochester Bank maintains customer records in a random access file. Write an application that creates 10,000 blank records and then allows the user to enter customer account information, including an account number that is 9999 or less, a last name, and a balance. Insert each new record into a data file at a location that a last name, and a balance. Insert each new record into a data file at a location that is equal to the account number. Assume that the user will not enter invalid account numbers. Force each name to eight character, padding it with spaces or truncating it if necessary. Also assume that the user will not enter a bank balance greater than 99,000.00. Save file as CreateBankFile.java
Part 2;
Create an application that uses the file created by the user located above and allows the user to enter an account- number order. Save file as ReadBankAccountsSequentially.java
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