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

  Polynomial function and give the multiplicity

Find the zeros for the given polynomial function and give the multiplicity for each zero. State whether the graph crosses the x-axis or touches the x-axis and turns around at zero. f(x)=x^3-8x^2+16x.

  Create an employee class

Create an Employee class

  Class stubs and implemenatation for the following program

Need a OOP Unit Tests, Class stubs and Implemenatation for the following program using this SDD. This should be created in ArgoUML using JAVA

  Student marks for a pre-defined set of courses

A course-mark system enables lecturers to enter student marks for a pre-defined set of courses and students enroled in those courses. Thus, marks can be updated, but the lecturers cannot change the basic course information, as the course lists are..

  Examples of some common thermocouples

Explain the principle of a thermocouple. Give two examples of some common thermocouples.

  What is the confidence of juice given milk

If the support threshold is 37.5% (i.e., 3 out of the eight baskets are needed), which pairs of items are frequent?

  Process of simplifying a radical expression

In the process of simplifying a radical expression, an individual provides a decimal number as an answer. Is the individual's answer correct? Why or why not? Explain your answer.

  Space agency wants to develop a database of all satellites

Problem 1: A space agency wants to develop a database of all satellites that humans have launched into space. Data includes the satellite identification, date of launch, destruction date, purpose, maximum orbital altitude, launching location, launchi..

  Which server type would you most likely need to deply

Which server type would you most likely need to deply at each physical location in a WAN?

  Explain the difference between form and report

Explain the difference between form and report

  What about the names of usercreated methods

My first method be renamed so that it is in Camel Case? What about the names of usercreated methods that are supplied with the Penguin class of objects?

  Write a program that computes the quotient and remainder

Write a program that computes the quotient and remainder using IJVM instructions and mic1 software. Please provide IJVM instructions!

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