a. Create an application that uses a graphic interface to capture appointment data for a salesperson and writes that data to a random access output file. The data required for each appointment includes the client's name, the day of the month, and the hour. For simplicity, this application accepts dates for the current month only, so the day field is an integer. Assume that only one appointment can be scheduled for a day, so that the day can be the key field. Allow the user to enter data one record at a time and to click a button to save it. Save the class as CreateRandomDateFile.java. Figure 15-44 shows the input screen into which the user has typed data for the first record.
b. Create an application that allows the user to enter a date and display the stored appointment for that date, if any. Save the file as ReadRandomDateFile.java.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.