Lab 6 – Object-Oriented Design

 (Due before class on April 11, 2007)

 The purpose of this lab is to design a solution and implement it using object-oriented design and programming.

You have been asked by the owner of the Peachpit Restaurant to design and develop a prototype for an order-taking system for the use by restaurant servers. Each server has a handheld computer to take orders at the table.

 Write a Java application that displays a screen with tabbed panes for each category of food (entrees, beverages, and desserts). For each category of food, collect information about which items are being ordered and the quantity for each (remember that the server is taking the order for an entire table). Pick at least five of your favorite entrees, five non-alcoholic beverages, five desserts to include on the tabs. Be sure to display the total cost for the entire order when completed including the sales tax.

 Use appropriate components for collecting the various types of information. Structure the interface carefully using the containment hierarchy (section 6.13) and the appropriate layout managers.

NOTE: Follow the software development activities (software development life cycle) described in section 6.1. Use UML class diagrams to describe your classes.

 

Grades are determined using the following scale: