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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started