Write a gui application that produces a restaurant bill

Assignment Help Computer Graphics
Reference no: EM13891672

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

Reference no: EM13891672

Questions Cloud

A study was done on students homework environments : A study was done on students homework environments in 3 different environments: listening to music, watching television, or at the library. What are the independent and dependent variables? What would the study hypothesis be? The students were random..
How is the presence of heteroscedasticity tested : How is the presence of heteroscedasticity tested and How can heteroscedasticity be corrected and Regress C on Yd for the entire sample and test for heteroscedasticity.
Gpa''s were then used to measure performance : 1 way anova help. Question is should students listen to music, watch television, or go to library for their studies. 30 students were randomly selected to participate and randomly placed in the 3 groups evenly. Their GPA's were then used to measure p..
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, ..
Analyze what went wrong that caused the ethical situation : Analyze what went wrong that caused the ethical situation and what could have been done differently to prevent the problems
Main role of the financial manager : (1) What do you consider to be the main role of the financial manager within a corporate organizational structure?
Chi square analysis on occurrences of a rare disease : Chi square analysis on occurrences of a rare disease in an rural area of 1000 people vs. national averages for this rare disease. Data is based on different age groups:
What is meant by perfect multicollinearity : What is meant by perfect multicollinearity? What is its effect and what is meant by high, but not perfect, multicollinearity? What problems may result?

Reviews

Write a Review

Computer Graphics Questions & Answers

  Plot the vertices of a n-sided polygon

Using Java, Write a code that reads an integer n, followed by the coordinates of each of n points that are the vertices of a n-sided polygon. Plot the vertices and the lines that make up the polygon.

  Determine transfomation of triangle

Determine a transfomation of triangle A(1,0),B(0,1),c(1,1)by:- a) rotating 45 degreeabout origin and then translatingin x and y direction.

  Create a dhcp and dns plan

To prepare for this assignment, do the following:Complete the required LabSim labs for this week.Research this topic and include at least three references from articles, books, or Web sites to support your paper.

  Flaw in your design and outline

After completing Part a, discuss the flaw in your design and outline some code that will cause it to break (your code should compile fine and will also execute without an error but will violate how a rectangle or square should behave).

  Develop an animated application

In this assignment you will develop an animated application that uses linked lists as the basis of the implementation. This application builds on the application that you worked with for tutorial 3.

  Frequency distribution of categorical data

Frequency Distribution of Categorical Data

  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.

  Discuss how the graphics are misused

Find an example of a document that misuses graphics. This can be a document that you have received (please blot out any sensitive information and names) or a document that you find on the Internet.

  How the product positioning is aligned with mcdonalds

how the product positioning is aligned with mcdonalds corporate strategy. identify potential gaps in the product line

  Describe the nature of the information system

Describe the nature of the information system

  Distinguish distinguish between uniform scaling and

distinguish between uniform scaling and differential scaling.differentiate between translation and

  Choose an industry in which two or more companies has

choose an industry in which two or more companies has historically competed to maintain a significant share of the

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