This programming project involves writing a Java program to manage a student dat
ID: 3548458 • Letter: T
Question
This programming project involves writing a Java program to manage a student database. The interface to the program should be a GUI that looks similar to one above.
A combo box should allow the user to select one of the three database actions shown. The database should be implemented as a HashMap, with the ID field as the key and a student record consisting of a name and GPA as the value. The operation should be performed when the user clicks the Process Request button. If the user attempts to insert a key that is already in the database an error message should be displayed using a JOptionPane message dialog box. If the user attempts to delete or find a record that is not in the database, a message should also be displayed.
This program must consist of two classes, one for handling the database interactions and a second class that defines the student record.
This programming project involves writing a Java program to manage a student database. The interface to the program should be a GUI that looks similar to one above. A combo box should allow the user to select one of the three database actions shown. The database should be implemented as a HashMap, with the ID field as the key and a student record consisting of a name and GPA as the value. The operation should be performed when the user clicks the Process Request button. If the user attempts to insert a key that is already in the database an error message should be displayed using a JOptionPane message dialog box. If the user attempts to delete or find a record that is not in the database, a message should also be displayed. This program must consist of two classes, one for handling the database interactions and a second class that defines the student record.Explanation / Answer
By database u mean java collections or mysql ?
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.