Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A.) Recall the Student class that you built in Lab #8 (Student.java) .You will be using this class to access the Database.Also recall the StudentGUI

A.) Recall the Student class that you built in Lab #8(Student.java).You will be using this class to access the Database.Also recall the StudentGUI class that you built in Lab #1 (StudentGUI.java).

B.) You may want to create a Lab9 folder, and copy the above 2 files and all related files(the StudentGUI may have related Panel files, like BottomPanel.java) into the Lab9 folder.

C.) Your task for this lab is to make a student's data(name, email, gpa) show up in the StudentGUI.

D.) The user will run the StudentGUI class, and the GUI will show up.The User will then enter a student ID number in the ID textfield and click the Find button.Your event code will read the ID number the user entered, use that ID number and the Student Business Object to retrieve that one student's data from the DB(using the selectDB() method).Lastly, pull out the individual data elements(i.e firstName) from the Student Business Object and put them into the appropriate textfields in the StudentGUI.

E.) Also make the "Insert", "Delete" and "Update" buttons work. Have fun.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions