Write a Java GUI application to capture a dentist appointment for a customer. The application must capture a customer’s name, the appointment day and the time. On the form, create a text field to capture the customer name and two combo boxes to allow the selection of the day and time for the dentist appointment. Also, create a submit button. Q.3.2 When the submit button is clicked, save the customer name, appointment day and time to a sequential file called dentist.txt. Q.3.3 Load the data from the dentist.txt file and populate the list box with the dentist appointment details. Q.3.4 The day Combobox must contain the days of the week from Monday to Friday. Q.3.5 The time Combobox must contain appointment times with 2‐hour intervals starting at 8:00 AM and ending at 6:00 PM.
Write a Java GUI application to capture a dentist appointment for a customer. The application must
capture a customer’s name, the appointment day and the time.
On the form, create a text field to capture the customer name and two combo boxes to
allow the selection of the day and time for the dentist appointment. Also, create a
submit button.
Q.3.2 When the submit button is clicked, save the customer name, appointment day and
time to a sequential file called dentist.txt.
Q.3.3 Load the data from the dentist.txt file and populate the list box with the dentist
appointment details.
Q.3.4 The day Combobox must contain the days of the week from Monday to Friday.
Q.3.5 The time Combobox must contain appointment times with 2‐hour intervals starting at
8:00 AM and ending at 6:00 PM.

Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images









