Question: I need help with a program to manage a database using the data from the file Data.txt. I don't know if the data should

I need help with a program to manage a database using the data from the file "Data.txt."

I don't know if the data should be read into the program and assigned to the appropriate HashMap or if the data should be initialized into the HashMap. The data contained in the Data.txt file (without bullet points):

  • 7623:Phyllis Jones,English,0
  • 8729:Cletus Smith,History,0
  • 7321:Betty Booth,Computer Science,0
  • 3242:Samuel Seybright,History,0
  • 9823:Oscar Blu,English,0
  • 2341:Sally Grief,Computer Science,0
  • 8321:Jacques Matchel,Mathematics,0

package Database;

/**

*

* @author Atom

*/

public class Database {

public static class GUI extends JFrame{

// constructor (), read in file and assign to HashMap, initialize HashMap

// Design the GUI window

// Invoke listener

} // end public static class GUI

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!