Question: in java language Write a program that creates a GUI that contains a label (Enter the data), a text area and a button. The user

in java language
in java language Write a program that creates a GUI that contains

Write a program that creates a GUI that contains a label ("Enter the data"), a text area and a button. The user types in the text area lines each containing the name of a student and an integer representing their grade. When the user clicks the button, the program should get the text from the text area and save the data into a binary file as UTF strings and as integers. Calculate the average (a double) of the grades and save it to the end of the binary file. Write a program that creates a GUI that contains a label ("Enter the data"), a text area and a button. The user types in the text area lines each containing the name of a student and an integer representing their grade. When the user clicks the button, the program should get the text from the text area and save the data into a binary file as UTF strings and as integers. Calculate the average (a double) of the grades and save it to the end of the binary file

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!