Question
Create a Swing program called GradeApp.java that can handle the students grading information for a course. Your program should provide a About button on the
Create a Swing program called GradeApp.java that can handle the students grading information for a course.
Your program should provide a About button on the main GUI.
When a user clicks About, your program should create a separate window (or a dialog box) to display information about your program. It should include at least your name and version number such as version 1.0. When a user clicks OK button, the window (or a dialog box) should disappear.
When a user clicks an Enter Data button on the main GUI, your program should create a separate window (or a dialog box) and accept students last name, an id number, and two exam scores. After a user enters all information and clicks a Submit button, your program should display the students information back to the user with the average of the two scores.
Your program should also provide a Clear button to clear any users input data.
If the user provides only a students id without the name and exam scores after clicking Enter Data button, your program should display corresponding last name, average, and two scores of the student based on the id given. If the id doesnt exist, your program should display an error message.
You should also provide a Report button on the main GUI. If the user clicks the button, your program should display statistics of all students entered so far. In other words, your program should display the name and id of each student, number of students, and average of all students. If there is no student at all, your program should indicate it clearly.
Your program should provide an Exit button to terminate the program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started