Question: Excirse #1: Create a Student class that has a name (String), Id (String) and a GPA (double) 1. Create the following GUI to handle the

Excirse #1: 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.

Sample input file for StudentInfo.txt: Ali Abdullah; 201984321; 3.8 Maryam Mohammed; 201894343; 3.9 Alia Ahmed; 202085675; 3.5

Excirse #1: Create a Student class that has a name (String), Id(String) and a GPA (double) 1. Create the following GUI to handlethe student class. 2. Add button will read the student info fromthe text field, split on ( ; ), then create a studentobject, then add the student to the text area using its toString()

Status: FileNotFound !! utput - lab.7 (run) run: Exception in thread "main" java. lang. ExceptionInInitializerError Caused by: java. lang.RuntimeException: Uncompilable code - illegal start of expression | at lab.pkg7.NewJFrame, (NewJFrame, java:234) /Users/hafsakhaled/Library/Caches/NetBeans/15/executor-snippets/run.xml:111: The following error occurred while execu /Users/hafsakhaled/Library/Caches/NetBeans/15/executor-snippets/run.xml:68: Java returned: 1 BUILD FAILED (total time: 2 seconds) Start Page NewJFrame.java student.java Output - lab. 7 (run) run: Exception in thread "main" java. lang. ExceptioninInitializerError Caused by: java. lang. RuntimeException: Uncompilable code - illegal start of expression at lab. pkg7. NewJFrame. (NewJFrame.java: 234) /Users/hafsakhaled/Library/Caches/NetBeans/15/executor-snippets/run.xml:111: The following error occurred while execu /Users/hafsakhaled/Library/Caches/NetBeans/15/executor-snippets/run.xml:68: Java returned: 1 BUILD FAILED (total time: 2 seconds)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!