Problem

a. Create an application that uses a graphic interface to capture appointment data for...

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.

Step-by-Step Solution

Request Professional Solution

Request Solution!

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.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 15
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT