Question: written in java The final project is a program that displays the medal winners in several sports in a Winter Olympics. A GUI will list
written in java

The final project is a program that displays the medal winners in several sports in a Winter Olympics. A GUI will list the sports, and when the user selects one, it will display the medal winners for that sport. It uses a file to store the data, writes to it with new data, and reads from it for all data. There are 2 major categories of events - timed and scored. In a scored event, like figure skating, the highest score wins. In a timed event, like speed skating, the lowest time wins. Your project must handle both scored and timed events, sorting the scores appropriately to identify the medal winners. Note that there MUST be sorting in the project, using a sorting algorithm you add to the code -- do not use a sorting method in the library. Do not store the data already sorted. Create 4 events, 2 scored and 2 times, with 5 competitors in each event. You only need the names of the competitors, plus their score/time, no other details. Create a file that contains the data for those 4 events -- pre-load it with the competitors and their scores/times by typing the data into a file, which will be read into the program. Make sure the data is not in sorted order. The project must allow the user to create a fifth event, specify if it is timed or scored, and enter the name and the 5 competitors with times/scores in that new event. The input process for the data for the new event can use the console, or it can be part of the GUI for displaying the winners, or it can be a separate GUI program, your choice. In all cases, the data for the new event must be written to the same file with the other four events. Create a GUI to display the medal winners in the selected event. List the events in a combo box where the user selects one. For the chosen event, display the medals and winners, in order - gold, silver, bronze. Only display the 3 winners, not all of the competitors in the event
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
