The table number and waiter''s name must be entered

Assignment Help Basic Computer Science
Reference no: EM13721699

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:

o Input format exceptions

o 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 listed below in 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 the ComboBox into the associated ListBox.
  • 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 the ListBox it should be removed from the ListBox and the price of that item should be subtracted from the bill.

 

  • The user should be able to click the Clear Bill Button to restore the Subtotal:, Tax:, and Total: fields to $0.00.

 

 

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

 

Include Javadoc

 

Reference no: EM13721699

Questions Cloud

Explain what information was accessed : Find a major data breach that has occurred recently. Explain what information was accessed and how this information could be misused, such as identity theft, spear phishing, and so on. Remember to include references to chapter 11 or 12 and an ..
A product requires an extensive initial investment : Communications infrastructure as a product requires an extensive initial investment. In the case of the Iridium mobile telephone system, this led to failure for the company. In the case of AT&T long distance, this led to a powerful monopoly. Di..
Design a good device interface standard : Discuss why it is so difficult to design a good device interface standard. Provide a detailed example to support your findings. Include a question that responding students can reply to within your initial post
Makeany dfa in jflap software and run for several inputs : Makeany DFA in JFLAP software and run for several inputs. Take a screen shot andinclude in your assignment. Keep in mind that this assignment is meant to makeyou all get familiar with this software.
The table number and waiter''s name must be entered : o 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 shou..
Compare and contrast an it audit project with other projects : Compare and contrast an IT Audit project with other projects which might be found in an IT department. Describe two (2) challenges that are unique to IT Audit projects. Suggest an approach to mitigate each challenge you selected.
What is the effective annual yield : PK Software has 8.3 percent coupon bonds on the market with 22 years to maturity. The bonds make semi annual payments and currently sell for 110.00 percent of par. Requirement 1: What is the current yield on PK's bonds? 7.55% Requirement 2: What is t..
Determine the new number of shares outstanding in parts : Roll Corporation (RC) currently has 270,000 shares of stock outstanding that sell for $73 per share. Assuming no market imperfections or tax effects exist, what will the share price be after:
What do you think the ex-dividend price will be : Midnight Hour Inc., has declared a $6.30 per-share dividend. Suppose capital gains are not taxed, but dividends are taxed at 25 percent. New IRS regulations require that taxes be withheld at the time the dividend is paid. Midnight Hour sells for $83 ..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Explain use of compensatory substituent in identification

Explain the use of "compensatory substituent" in identification and annotation of non-coding genes? Write down the difference between matrix and a Blosum60 Blosum20 matrix?

  What key do you press to erase the last character typed

What key do you press to erase the last character typed? The last word? The entire line?

  Create a column of integers 1 through 30

In the next three columns show how each value is represented using the binary, octal, and hex number systems. Identify when and why each of the each three numbering systems is used ?

  Create an applet to draw a digit using the method

Create an applet to draw a digit using the method fillRect of the class Graphics. For instance, if the input is 4, the applet will display the digit 4. In java language please

  Write a paper on the relative merits of .net and j2ee

Write a paper on the relative merits of .NET and J2EE as a platform for business systems integration.

  Write a code fragment that adds even numbers from 0 to 10

Write a code fragment that adds the even numbers from 0 to 10

  Design a 3-bit non-binary counter

Design a 3-bit non-binary counter that will count in the sequence 000, 010, 011, 101, 110, 111 when the input signal X = 0, clockwise rotation. If input signal X = 1 it reverses the direction, counterclockwise

  Compare swing java gui components to awt components

Compare Swing Java GUI components to AWT components. Explain at least one way the components are similar and at least one way they are different. Provide examples to support your rationale.

  Is this technique taylorian in nature

As a system analyst to do requirement elicitation of UNB course registration system, use an example to tell how you can apply this technique to your elicitation task.

  Write recursive method returns true if string palindrom

A palindrome is a word that reads the same backward or forward. For ex- ample, radar, racecar, and level are palindromes.

  Write a program that displays four lines of text in four lab

Write a program that displays four lines of text in four labels

  A topic relevant to current information

Select two articles on a topic relevant to current information security trends and describe its impact on business; assess the steps industry should take to address it. Formatting: APA style paper, double spaced, two pages, Cover page, reference ..

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