Create a gui application that allows the user to enter

Assignment Help Computer Engineering
Reference no: EM132098914

PLEASE NOTE I WANT THIS CODE ONLY IN JAVA LANGUAGE USING GUI APPLICATION ONLY (JFRAME, JLABEL, JTEXTFIELD, JBORDER ..)

Theater Revenue

A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder

goes to the movie company. Create a GUI application that allows the user to enter the following data into text fields:

Price per adult ticket

Number of adult tickets sold

Price per child ticket

Number of child tickets sold

The application should calculate and display the following data for one night's box office business at a theater:

Gross revenue for adult tickets sold. This is the amount of money taken in for all adult tickets sold.

Net revenue for adult tickets sold. This is the amount of money from adult ticket sales left over after the payment to the movie company has been deducted.

Gross revenue for child tickets sold. This is the amount of money taken in for all child tickets sold.

Net revenue for child tickets sold. This is the amount of money from child ticket sales left over after the payment to the movie company has been deducted.

Total gross revenue. This is the sum of gross revenue for adult and child tickets sold.

Total net revenue. This is the sum of net revenue for adult and child tickets sold.

Assume the theater keeps 20 percent of its box office receipts. Use a constant in your code to represent this percentage.

Reference no: EM132098914

Questions Cloud

Identify and explain some different types of risks : Identify and explain some different types of risks that a computer network environment might face. What are some ways that these risks can be mitigated?
Write a method readdata in java program : Write a method readData(...) that reads and returns a list of integers. The list is preceded by the number of items in the list.
Write a stack for string data with pointers and linked lists : Test it by creating a DRIVER/Test file with int main, and Test the stack class and its basic functionality.
Write a program that reads the data from the file produced : Write a program that reads the data from the file produced in Part A, and produces a report showing the courses taught by each instructor.
Create a gui application that allows the user to enter : Assume the theater keeps 20 percent of its box office receipts. Use a constant in your code to represent this percentage.
Compute the maximum quizzes average grade over all students : Design a 4-parameter constructor (name, ID, GPA and quizzes array). Any trial to enter a negative quiz grade must generate the exception.
Write a java class that declares a named constant : Write a Java class that declares a named constant to hold the number of quarts in a gallon (4).
Output a set of elements input : "Implement a class called Reverse that uses a stack to output a set of elements input by the user in reverse order."
Describe the classes of executive decision making : Executive information system. Definition,properties,features, properties, advantages, who/what it's used for?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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