Question: Create a GUI for ordering a pizza. Use a JFrame as the main window. On the main window include buttons for login, order pizza, find

Create a GUI for ordering a pizza. Use a JFrame as the main window. On the main window include buttons for login, order pizza, find coupon, offer feedback. Put a picture of pizza on the main page in a JLabel. Include a textarea at the bottom to show the pizza that the customer will be ordering. Make the order pizza button open a JDialog (add -> Java swing gui -> JDialog). Include the following options: Crust Size (radio buttons) 8 , 10,

Crust Type (radio buttons) thin crust, deep dish

Toppings (check boxes) extra cheese, pepperoni, At the bottom of the ordering dialog, you should have a button that checks to ensure customers have selected Size and Type of pizza. Toppings are optional. The form should be setVisible(false) after checking validity. You will also have to write a return method in the dialog class that your JFrame can call to retrieve the values. Once the main class retrieves the values, put them in the textarea at the bottom of the form. The remaining buttons on the main form are just dummies. We may

Main Form - 25 create buttons: 5 create dialog: 5 picture: 5 display values: 5 style: 5 Dialog - 25 radio buttons: 5 check boxes: 5 testing: 5 return method: 5 style: 5

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!