The Artima Developer Community
Sponsored Link

Java Answers Forum
Swing application - pizzeria

2 replies on 1 page. Most recent reply: May 28, 2003 8:39 AM by Fawad Shah

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Big Mama

Posts: 4
Nickname: violet
Registered: May, 2003

Swing application - pizzeria Posted: May 4, 2003 6:54 PM
Reply to this message Reply
Advertisement
Design an order form Swing application for a pizzeria. The user makes a choice from drop-down lists, and the application displays the price. The iser can choose a pizza size of small($7),medium($9),large($11),or extra-large($14),and any number of toppings. There is no additional charge for cheese, but all other toppings add $1 each to the base price. You must offer a choice of at least five different toppings.


Erik Price

Posts: 39
Nickname: erikprice
Registered: Mar, 2003

Re: Swing application - pizzeria Posted: May 5, 2003 5:47 AM
Reply to this message Reply
That sounds like a fun homework assignment. The only suggestion I can give is that you design a working business model (food-tracking and purchasing system) and then plug the Swing UI into it/on top of it, in case your instructor later asks you to design a different front-end to the same application.

Fawad Shah

Posts: 9
Nickname: smartarse
Registered: May, 2003

Re: Swing application - pizzeria Posted: May 28, 2003 8:39 AM
Reply to this message Reply
Nice assignment. You could create a database with all the prices for the pizzas. Then using the info from the form, you could call on the database for the price and add it to the extras.

Flat View: This topic has 2 replies on 1 page
Topic: JList Previous Topic   Next Topic Topic: boolean error

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use