Restaurant wants an application that calculates

Assignment Help Basic Computer Science
Reference no: EM131339360

WRITE A JAVA APPLICATION FOR THE FOLLOWING

A restaurant wants an application that calculates a table's bill.

The design should include:

  • Group Boxes,
  • ComboBoxes,
  • ListBoxes,
  • Labels,
  • TextBoxes
  • PictureBox
  • etc.
  • Validate the following using try and catch blocks:
  • Input format exceptions
  • The table number and Waiter's name must be entered. The restaurant has only 10 tables, therefore, the only valid table numbers are 1-10. After the user enters the table number and waiters name, then the table number and the waiters name should appear below the billing information.
  • Give your Restaurant a unique name that starts with your name and include a logo or picture image control.
  • The application should display all the menu items listedbelowin four ComboBoxes.
  • Each ComboBox should contain a category of food offered by the restaurant (Beverage, Appetizer, Main Course and Dessert).
  • Keep track of the items ordered by placing each item selected from theComboBoxinto the associatedListBox.
  • As each item is selected, add the price of that item to the bill.
  • Allow an item to be deselected, i.e. if an item is clicked in theListBoxit should be removed from theListBoxand the price of that item should be subtracted from the bill.
  • The user should be able to click theClear BillButton to restore the Subtotal:, Tax:, and Total: fields to $0.00.

Item Price List

Name

Category

Price

Soda

Beverage

$1.95

Tea

Beverage

$1.50

Coffee

Beverage

$1.25

Mineral Water

Beverage

$2.95

Juice

Beverage

$2.50

Milk

Beverage

1.50

Buffalo Wings

Appetizer

$5.95

Buffalo Fingers

Appetizer

$6.95

Potato Skins

Appetizer

$8.95

Nacjos

Appetizer

$8.95

Mushroom Caps

Appetizer

$10.95

Shrimp Cocktail

Appetizer

$12.95

Chips and Salsa

Appetizer

$6.95

Seafood Alfredo

Main Course

$15.95

Chicken Alfredo

Main Course

$13.95

Chicken Picatta

Main Course

$13.95

Turkey Club

Main Course

$11.95

Lobster Pie

Main Course

$19.95

Prime Rib

Main Course

$20.95

Shrimp Scampi

Main Course

$18.95

Turkey Dinner

Main Course

$13.95

Stuffed Chicken

Main Course

$14.95

Apple Pie

Desert

$5.95

Sundae

Desert

$3.95

Carrot Cake

Dessert

$5.95

Mud Pie

Dessert

$4.95

Apple Crisp

Dessert

$5.95

Reference no: EM131339360

Questions Cloud

Important part of industry benchmarks : Standards are very important part of industry benchmarks, regulations, and quality systems.  Explain the following in details:
Absolute truth and using data to reach a particular goal : Discuss the balance between absolute truth and using data to reach a particular goal?
Investigate demotivational factor at kaluyu memorialhospital : Investigate major demotivational factors at Kaluyu memorial hospital. Assess the level of impact that the identified factors could have on specific areas service and business the administration does not address the situation.
How many trucks and cars should they sell : Home Made Toys manufactures solid pine trucks and cars and usually sells four times as many trucks as cars. The net profit from each truck is $6 and from each car is $5. If the company wants a total profit of $29,000, how many trucks and cars shou..
Restaurant wants an application that calculates : WRITE A JAVA APPLICATION FOR THE FOLLOWING A restaurant wants an application that calculates a table's bill.
Review the given philosophy of education paper : Given is the Philosophy of Education paper. - Review the Philosophy. - Also check for grammar, spelling and sentence structure.
Characteristics to a database using jdbc : Write a list of animal and its characteristics to a database using JDBC. Display the characteristics of an animal when that animal is selected.
What factors contributed to the success : Analysts predicted earnings per share for your company to be $0.12 at the close of 2019. How does this compare to actual EPS for 2019? If actual EPS is higher than analysts' prediction, what factors contributed to the success?
Find coordinates of the car located at the loading platform : Then find the location of the car at the 90° counterclockwise, 180°, and 270° counterclockwise rotation positions.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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