Purchase Solution

Complex GUI exercise

Not what you're looking for?

Ask Custom Question

Design an application to take and process a pizza order. The user should be able to make pizza order choices from listboxes, and the application should display the order price. One of the listboxes should allow a user to select pizza size under the following criteria: small with the base price of $7, medium with the base price of $9, and large with the base price of $11. The second listbox should allow a user to select an additional topping and add its price to the total price of the pizza. There is no additional price for cheese, but any other topping (Of your choice to add to the listbox) adds $1 to the base price. Offer at least five different toppings of your choice. On a click of an "Order Summary" JButton, display the total pizza price in a label.

Purchase this Solution

Solution Summary

The solution assists with designing an application to take and process a pizza order using a complex GUI.

Solution Preview

I've developed the program in Java Netbeans as per the given instructions. I'm also pasting the core code here with comments. It is easy to follow. I'm also enclosing the complete solution along with a screen shot of the working program.

You may find the below code in the pizzaOrderView.java file included in the project solution.

private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {

//declare variables ...

Purchase this Solution


Free BrainMass Quizzes
Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Javscript Basics

Quiz on basics of javascript programming language.