Write a gui application that produces a restaurant bill.

Assignment Help Computer Graphics
Reference no: EM13950943

All the variables have to be declared and initialized inside the method before they are used.
All the arrays have to be declared before they are used.
No global variables are allowed to be used in your application class.

Problem Descriptions

Write a GUI application that produces a restaurant bill. You create a bill calculator to generate window output. You should prompt the user to enter all the dishes and their prices using JOptionPane, and then display all the dishes, their prices, the total price before tax, the tax, and the total price after tax. Your output should be in a window, using a class you have derived from JFrame. Your window should include a title and appropriate icon, which you can choose. Each customer cannot order more than three dishes in each bill,
and the tax rate is 15%. You should have three classes shown as follows:

1. A Bill class to model a bill.

2. A BillFrame class to define a bill window.

3. A BillCalculator class to get a user' inputs and to generate the below outputs.

Assignment Submission

1. Submit a UML class diagram for the Bill class.

2. Submit all the three java source codes.

3. Submit the RED-STAR screenshots.

Program Sample Inputs and Outputs 1

Attachment:- Programming Assignment 1.docx

Reference no: EM13950943

Questions Cloud

Which is most important to the business and why : Which is most important to the business and why? What are the consequences a company may face if either of these is ignored?
Expand medicaid as part of the affordable care act : Imagine that you are a health policy analyst for a state that has not elected to expand Medicaid as part of the Affordable Care Act (ACA). You have just been notified that the state leaders have agreed to reconsider their decision during an upcomi..
Develop a compelling presentation to the operations manager : Develop a compelling presentation to the operations manager that will explore the benefits of implementing supply chain management on his floor.
What leadership skill required more in international setting : What leadership skills may be required more in an international setting than what is expected in the United States? What specifics steps are required to ensure the right project manager with the right skill set is chosen?
Write a gui application that produces a restaurant bill. : Write a GUI application that produces a restaurant bill. You create a bill calculator to generate window output. You should prompt the user to enter all the dishes and their prices using JOptionPane, and then display all the dishes, their prices, ..
If the firm faces a corporate tax rate : If the firm faces a corporate tax rate of 30%, compute RON Ltd's Weighted Average Cost of Capital (WACC). Enter your answer in decimal form to FOUR decimal places. For example 10.34%, would be entered as 0.1034
Proprietorship, earned general business tax credits : During 2012, Joule Company, a sole proprietorship, earned general business tax credits of $30,000 for energy conservation and rehabilitation expenditures. The owner, Mark Joule, knows that the overall credit will belimited.
Calculate the weighted cost of capital : Calculate the weighted cost of capital for a firm using the book value of the components and the concepts presented in this phase - determine the percentage of the firm''s assets that are currently be financed with debt (total liabilities), preferr..
Prepare a memo to carol george the human resources manager : Prepare a memo to Carol George, the Human Resources Manager, that responds to the following two points. Identify four specific items relating to bereavement leave that will have to be addressed in the policy.

Reviews

Write a Review

Computer Graphics Questions & Answers

  Network design based question

Suggest a network design for a customer that has fifty remote locations in addition to a central headquarters. Half of the remote locations are needed to connect or stay on line with central headquarters.

  Given a 2-d point at position 20 30 show the results and

given a 2-d point at position 20 30 show the results and intermediate steps for a translation of 10 35 a rotation of 45

  Build agraphical user interface for a text editor

Using BlueJ, Design and build aGraphical user interface for a text editor. Users should be able to enter text,edit, scroll, etc. Consider functions for formatting (font faces, style, andsize) and a character/word-count function.

  Create a set of criteria for assessment of video clips

Create a set of criteria for assessment of video clips suitable for inclusion in Multimedia presentations over the web.

  Display an orthogonal view of two animated 3d objects

Develop ONEC++ program to display an orthogonal view of two animated 3D objects and create two texture patterns. Texture 1 is a manually-constructed texture and Texture 2 is a texture converted from an input image.

  Write code to perform tessellation

Discuss the tessellation algorithms with other students in the class. However, you must write your own code - Write code to perform tessellation of the 4 basic shapes.

  As a newly promoted vice president your ceo has invited you

as a newly promoted vice president your ceo has invited you to participate in this years upcoming strategic planning

  What are the advantages of 3d-printing

What are the advantages of 3D-Printing and what are the disadvantages?

  Differentiate between a bitmap image and a vector image

Differentiate between a bitmap image and a vector image Explain the following terms

  Publishing and marketing plan a website

Without a publishing and marketing plan a website does not help the client to generate business. Your task in this part of the project is to think of a publishing and marketing plan for your website

  Select two of the more prominent cooperative linkages that

select two of the more prominent cooperative linkages that your selected firm apple has made. make sure that there are

  Write a gui-based program that analyzes a round of golf

Write a GUI-based program that analyzes a round of golf. You will retrieve the data from 18 holes from a text file. On each line in the file will be the par for the hole(3, 4, or 5) and your score for that hole. Your program should read the file a..

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