Creating a gui front end for a pizza ordering program

Assignment Help JAVA Programming
Reference no: EM13941774

I need assistance in creating a GUI front end for a pizza ordering program similar to that shown below. The result should look something like that presented in enclosed Figure. it must use a JComboBox to display the available pizza toppings (listed below), and when the Add to Order button is clicked, the selected toppings should be added one by one to the JList (this component uses the JScrollPane to allow the user to see their complete order). The Clear button should clear all fields on the form except for the toppings in the combo box, and the Submit button should display a JOptionPane with an error message if any of the fields are blank on the form except for the delivery checkbox. If all fields are filled and the Submit button is clicked, a JOptionPane should display the user's name and address with a message thanking them for their order.

The form below utilized the following elements:

1 Horizontal Line
4 JLabels (Title, Toppings, Name, Address)
1 JComboBox (Toppings)
3 JButtons (Add to Order, Clear, Submit)
2 JTextFields (Name, Address)
1 JScrollPane (Toppings Selected)
1 JList (Toppings Selected)
1 JButtonGroupPanel (Large, Small, Medium)
3 JRadioButtons (Large, Small, Medium)
1 JCheckBox (Delivery)

The ingredients that should be listed in the JComboBox are:

Cheese Pepperoni Mushrooms Green Peppers
Onions Jalapenos Hamburger Olives

Hint: Do not attempt to make the GUI too sophisticated. Just concentrate on producing a working result (although sound programming techniques should still be applied).

1611_pizaa.png

Figure 1: Pizza Order Form

My answer must be in GUI format - command line programs and Applets will not be accepted for this problem!

Kindly remember to write the source code for each class in a separate file which must have the same name as the class name together with the extension .java. Please remember also that by convention, class names commence with a capital letter.

As with all programs we write, we should provide a well-structured solution that is easy to read. We should use meaningful identifier names and should provide useful comments. Kindly highlight on the structure of the classes.

 

 

Reference no: EM13941774

Questions Cloud

What are the most common measures of central tendency : What are the most common measures of central tendency? What information is provided by each of these measures and what do they tell us
Will this help the city to deal with violent juvenile offend : Use the juvenile crime situation in Baltimore City to analyze the effects of the Gault ruling. Do you think the Gault ruling has had the impact on the juvenile justice system that was envisioned by the Supreme Court? Why? Has this ruling become a ..
Ferraris of work design : Edwin Lawler, Management Professor at the University of Southern California, states, "Teams are the Ferraris of work design. They're high performance but high maintenance and expensive." Do you agree? Why or why not?
Drawbacks or risks of living in flat world of globalisation : What would be some of the key drawbacks or risks of living in the flat world of Globalisation 3.0 as Friedman describes it?
Creating a gui front end for a pizza ordering program : Kindly remember to write the source code for each class in a separate file which must have the same name as the class name together with the extension .java. Please remember also that by convention, class names commence with a capital letter.
Applied or theoretical concept of e-business : Your essay will address an applied or theoretical concept of e-business.. The suggested length is approximately 3-4 pages
Create a gui front end for your bubble sort program : Design and implement a Java program which sorts a 10 element integer array using the bubble sort process. The elements of the array to be sorted should be supplied by the user (assume the user will not input duplicates).
Describing the legal and ethical issues tied to the case : Research an organization that has had a lawsuit filed against them for wrongful termination. Write a 350-word summary describing the legal and ethical issues tied to the case
Summary on the importance of employee rights : Select the best actions to take. Write a 350-word summary on the importance of employee rights

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd