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
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
Get step-by-step solutions from verified subject matter experts
