Question: I am trying to design a pizza order program with the following requirements. I have already created the GUI but am not sure how to
I am trying to design a pizza order program with the following requirements. I have already created the GUI but am not sure how to implement the functions specified below. I have attatched an image of the GUI. Am quiet new to this....so help would be very much appreciated! :) I am using Netbeans as the ide and this GUI has been created using Jframe and Jpanel (all three is a must...)

Requirements:
1) Pizza Order makes the following varieties of pizza: Supremo Supreme ($13), Supreme ($12), Chicken ($11.50), Aussie ($12.50), Vegie ($10.50), Hawaiian ($11).
2) The pizza base Pan is $2.50 extra
3) Each pizza can be ordered with either Tomato or Barbeque sauce (no extra charge for this).
4) Extra toppings can be ordered for any of the pizza varieties. The available toppings are: Pepperoni, Salami, Ham, Bacon, Chicken, Onion. Extra toppings are charged at $1.50 each. Customers can choose as many extra ingredients as they want.
5) Customers can choose/enter the number of pizzas they want.
6) The pizzas can be picked up by the customer or home delivered. Home delivery is free if the pizza order is more than $26.00, otherwise home delivery costs $5.00 per order. All prices shown include GST. The customer should also be able to choose to have the order delivered or to pick it up themselves.
7) There should be a component count which enables the input/choice of the number of pizzas.The interface should show the price and total price of the order made. The price and total cannot be input.
8) The price is calculated based on the choices made for the pizza (Ordering Function 1 to 4). The price is dynamically changed while selections are made.
9) The total is calculated based on the price of each pizza and the count. The total is also dynamically changed while selections are made.
10) There should be a "clear order" button which, when pressed, will clear the order at any time.
11) An "order" button should appear at the end of the invoice as well which, when pressed will open a new dialog box to display the summary of the order made. The summary should include all the choices made for the pizza, the price for each pizza, the number of pizzas and the total price of the order.
Pizza Order Pizza Base & Sauce Topping None Pepperoni Salami Ham Bacon Chicken Thin and Crispy Pan Cheese filled crust Supremo Supreme Supreme Chicken Aussie Vegie Hawaiian Tomato Barbeque extra $1.50 for Pan extra $1.10 for each topping *delivery fee S5.00 waived for over $26 orders Price: Count: Delivery: Pizza Ordered Total: Order Clear Order Pizza Order Pizza Base & Sauce Topping None Pepperoni Salami Ham Bacon Chicken Thin and Crispy Pan Cheese filled crust Supremo Supreme Supreme Chicken Aussie Vegie Hawaiian Tomato Barbeque extra $1.50 for Pan extra $1.10 for each topping *delivery fee S5.00 waived for over $26 orders Price: Count: Delivery: Pizza Ordered Total: Order Clear Order
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
