Question: JAVA GUI Project Requirements: There should be 5 classes: CrustClass, ToppingsClass, Drink Class, OrderCalculation, and PizzaTester 1. Develop a project that provides the functionality show
JAVA GUI Project Requirements:
There should be 5 classes: CrustClass, ToppingsClass, Drink Class, OrderCalculation, and PizzaTester
1. Develop a project that provides the functionality show in the images above.
2. The type of shop, items offered and cost is up to the designer. However each item must have a different cost and the final calculation must be correct.
3. The images display the minimum requirements, however the following is a list of those minimum requirements.
1. Welcome panel with the shop name and three item panels with panel labels.
2. At least one set of Checkboxes that allows multiple selection and one set of Radio buttons that are mutually exclusive.
3. A Panel that holds the calculate and exit button
4. A popup box or separate panel that displays the cost of the selections and the tax.
Note the tax must be calculated after the items are selected.
Implementation Notes: 1. Create a project that is object oriented, therefore there should be several classes.
This is a basic outline and does not address all the required details. You may want to think about your design first before reading the suggested structure below.
1. Create a separate class for each Panel except the button panel. 2. Create an Order Calculation class. 1. Extends JFrame. 2. Instance fields are objects of the Panel types. 3. Adds the Panels to the JFrame using a Boarder Layout 4. A method to create the Button Panel (Calculate and Exit) 5. Two inner ActionListener classes that handle the button actions. 3. A class that contains the main method and simply creates the Order Calculation object.

Order Calculator Bas Thincrustase Drinllo :12.50 Topping Message Cheese Subtotal: $12.50 Tax: $0.75 Total: $13.25 i) Diet Coke Pepperoni | Sweet Tea Mushrooms (e) Raised Crust OK Calculate Exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
