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

  Deriving logging information for chinese wall model

In the example of deriving required logging information for the Chinese Wall model, it is stated that the time must be logged.Why? Explain.

  Identify the potential risks found in the organization

Create an introductory section where you clearly DEFINE RISK.

  What is the 8-bit hex read address

What is the 8-bit hex read address?

  Program that displays contents of 10 bytes of main memory

Each byte has to be displayed as two hex characters. The displayed contents of successive bytes should be separated by a space.

  Even-odd property of a function

How does differentiation and integration affect the even-odd property of a function? For integration, assume the constant of integration is 0.

  Describe what intersection data is and what it describes

Describe why an additional relation is needed to represent a many-to-many relationship in a relational database.

  Estimate the worst-case delay of a reader

Estimate the worst-case delay of a reader when using the NBW protocol. What are the critical parameters? List the time services that are required by a real-time application.

  Permissions associated with them and therefore

A user calls your help desk to report that the files on her USB stick do not have any permissions associated with them and therefore aren't secure. Why is this?

  Question regarding the article about object modeling

Search the Web for online "trade magazines" related to computers and technology. Locate an article about object modeling. To be considered current, the article must have been published within the last 90 days. Anything older is considered out-date..

  Which uses less memory what is the dimension of each

. Which uses less memory? What is the dimension of each?

  Examine how application pools will help to reduce costs

Analyze how using Terminal Services will help meet many of the criteria for providing applications for the remote offices. Propose how to deploy, configure, and secure terminal service features in order to meet the requirements specified in the scen..

  Describe significance of having test coupled with real users

Describe the significance of having test coupled with real users' views of product at the end of development effort,even if it is test of a prototype and not the completely developed software.

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