Question: The objective of the assignment is to write a GUI app using check boxes and combo boxes to create GUI objects. INSTRUCTIONS: Cindy's catering provides

 The objective of the assignment is to write a GUI app

The objective of the assignment is to write a GUI app using check boxes and combo boxes to create GUI objects. INSTRUCTIONS: Cindy's catering provides meals for parties and special events. Create an interactive GUI program that allows Cindy's Catering to better operate their business. The following data must be entered concerning the customer and the event: The customer's name must be entered into a text field. The customer's contact phone number into a text field. The number of guests invited to a Cindy catered event into a text field. The customer must choose one entree from a group of at least four choices. The customer must choose up to two side dishes from a group of at least four choices. The customer must choose one desert from a group of at least three choices. Display the cost of the event which is calculated as $35 per person. To validate the input data, do the following: If the value entered for the number of guest is not numeric, set the event price to zero. If the user attempts to choose more than two side dishes, remove all the current side dish selections so that the user can start over. After the final price for the dinner has been calculated, the event information must be saved to an output file so that Cindy's Catering will have the information for the event. The items should be separated by spaces. If any item is not chosen, enter the word "none" for that item. The following fields must be written to the output file. the customer's name the customer's contact phone number the number of guests the one entree chosen the two sides chosen the one desert chosen Requirements: The data input must be done with a GUI. The GUI must be defined in a programmer-defined class, named Catering.java, rather than in the main class The main class, named Cindy.java, should instantiate the class Catering. The output file should be named Event.txt. The objective of the assignment is to write a GUI app using check boxes and combo boxes to create GUI objects. INSTRUCTIONS: Cindy's catering provides meals for parties and special events. Create an interactive GUI program that allows Cindy's Catering to better operate their business. The following data must be entered concerning the customer and the event: The customer's name must be entered into a text field. The customer's contact phone number into a text field. The number of guests invited to a Cindy catered event into a text field. The customer must choose one entree from a group of at least four choices. The customer must choose up to two side dishes from a group of at least four choices. The customer must choose one desert from a group of at least three choices. Display the cost of the event which is calculated as $35 per person. To validate the input data, do the following: If the value entered for the number of guest is not numeric, set the event price to zero. If the user attempts to choose more than two side dishes, remove all the current side dish selections so that the user can start over. After the final price for the dinner has been calculated, the event information must be saved to an output file so that Cindy's Catering will have the information for the event. The items should be separated by spaces. If any item is not chosen, enter the word "none" for that item. The following fields must be written to the output file. the customer's name the customer's contact phone number the number of guests the one entree chosen the two sides chosen the one desert chosen Requirements: The data input must be done with a GUI. The GUI must be defined in a programmer-defined class, named Catering.java, rather than in the main class The main class, named Cindy.java, should instantiate the class Catering. The output file should be named Event.txt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!