Question: Q2 (5 Marks): CLO 4 You are asked to write a program for a Section Statistics. The application should define the grade per student out

 Q2 (5 Marks): CLO 4 You are asked to write a

Q2 (5 Marks): CLO 4 You are asked to write a program for a Section Statistics. The application should define the grade per student out of 100 and the total amount of orders. A. Create a JFrame Form Section Statistics Students Ust text area and Average text field is disabled for the user B. The lecturer can insert grades of the exams out of 100 in a single text field. When button "ADD is pressed, the program shall get the values from the text field and the Combo Box. The curve values available are (0,2 and 4) Then pass the two values to the class Section Student. The first value is a String that represents the 3 grades out of 100 separated by COMMAs. The second value is a double value from the combo box that represents the curve percentage. Then the GUI call toString to add it appeand it) in the Students List text area. The program shall get average and display it in its corresbonding text field as well when the ADD button is pressed. x Section Statists public class Section Student private int grades new in private double stodentGrade private static double total.count=0 Grades Project, Mid. Fal) 90,80,85 CUVE) public Section Student string Grades, double curve) String grades astring=aGrades split": for anti-01 1. ArrayIndexOutOfBoundsException: the pop-up message will be "Missing Grade" 2. Exeption; the pop-up message will be "Error in Entry" D. The button "CLR" will clear the text field, and return the curve seletion to 0

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!