Text: Scene Builder and File IO
Following GUI is just an example. Choose a different color, design, and font for your GUI interface.
Input Information:
- Course
- Quiz Grade
- Submit
- View Grade Info.
Write a program which allows you to enter the course name, quiz mark, assignment mark, and final mark through textboxes. When you click on the submit button, it will read the values from the textboxes and write them into a file as follows:
prog24178,quiz,2.0
prog24178,assignment,2.0
prog24178,final,2.0
prog24178,quiz,5.0
prog24178,assignment,5.0
prog24178,final,5.0
prog10082,quiz,5.5
prog10082,assignment,10.0
prog10082,final,20.0
You can enter any course name through the text box. The submit button will also add the course name to the combo box. After adding the course name to the combo box, the user can select which course data they would like to view, in case there is data for more than one course in the data file.