Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Can somebody help?? Please!!! This my second time posting this please help me.

Can somebody help?? Please!!! This my second time posting this please help me.

Final ProjectInstructionsThe fourth programming project involves writing a program to manage a student database. The interfaceto the program should be a GUI that looks similar to the following:A combo box should allow the user to select one of the four database actions shown. The databaseshould be implemented as aHashMap, with the ID field as the key and a student record consisting of aname and major as the value. The operation should be performed when the user clicks theProcessRequestbutton. If the user attempts to insert a key that is already in the database an error messageshould be displayed using aJOptionPanemessage dialog box. If the user attempts to delete, find orupdate a record that is not in the database, a message should also be displayed. After each successfuloperation is completed aJOptionPanewindow should be displayed confirming the success. In the caseof a successfulFindrequest, a window should pop up containing the student’s ID, name, major andcurrent GPA. When the user selects theUpdaterequest, the followingJOptionPanewindows should bedisplayed to gather information about a course that has just been completed:This program must consist of two classes. The first class should define the GUI and handle the databaseinteractions. It should be hand-coded and not generated by a GUI generator. The second classnamedStudent, should define the student record. It must have instance variables for the student name,major and two variables that are used to compute the GPA. A variable that contains the total number ofcredits completed and a second variable that contains the total quality points, which are the numeric valueof the grade received in a course times the number of credit hours. It should not contain the student ID.The class should have the following three methods:
Background image of page 1
1.A constructor that is used when new student records are created. It should accept the name andmajor as parameters and initialize the fields that are used to compute the GPA to zero.2.The second methodcourseCompletedshould accept the course grade and credit hours andupdate the variables used to compute the GPA. It will be called when anUpdaterequest is made.3.The third method should overridetoStringand return a labeled string containing the studentname, major and GPA.Be sure that all instance and class variables are declared asprivate. Also any exceptions thrown bynonnumeric inputs should be properly handled. Finally when a student has not yet completed any course,the GPA should be displayed as 4.0.
Background image of page 2
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"