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).

  1. Create the following GUI to handle the student class.
  2. 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.
  3. 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.
  4. Save button to save all students in the text area to an output file.
  5. You should handle all errors and report errors in the status label.
  6. Design Preview [StudentFrame] Student info Ahmed Hassan; 202041236; 3.2 Input file Student_Info.txt Outpu 

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

1 Expert Approved Answer
Step: 1 Unlock

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

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!