Question: Create a Student class that has a name (String), Id (String) and a GPA (double). Create the following GUI to handle the student class. Add
Create a Student class that has a name (String), Id (String) and a GPA (double).
- Create the following GUI to handle the student class.
- Add button will read the student info from the text field, split on ( ; ), then create a student object, then add the student to the text area using its toString() method.
- Load button will read students information from an input file one by one, then split on ( ; ), then add each student object to the text area until the end of the file.
- Save button to save all students in the text area to an output file.
- You should handle all errors and report errors in the status label.
Design Preview [StudentFrame] Student info Ahmed Hassan; 202041236; 3.2 Input file Student_Info.txt Outpu file Student Info.out Name: Ahmed Hassan ID : 202041236 GPA: 3.2 Status: FileNotFound !! X Add load Save
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
To create the GUI application to handle the Student class as described you can use Java Swing Heres a basic implementation of the GUI with the required functionality import javaxswing import javaawt i... View full answer
Get step-by-step solutions from verified subject matter experts
