Calculates the flooring cost and stores

Assignment Help Basic Computer Science
Reference no: EM131181653

Here is your assignment: You work for a flooring company. They have asked you to be a part of their team because they need a computer programmer, analyst, and designer to aid them in tracking customer orders.  Your skills will be needed in creating a GUI program that calculates the flooring cost and stores the order in the database.

Your application must include at least three tabs. The user will choose wood flooring or carpet, enter the length and width of the floor, as well as the customer name and address. The application will compute the area of the floor and the cost of the flooring considering that wood floor is $20 per square foot and carpet is $10 per square foot. A summary should be displayed, either in a tab or another window, listing the customer name and address, floor selection, area, and cost. This information should also be stored in the MySQL database table. The program should validate that all information is entered and that the length and width are numeric values. Any numeric or currency values must be formatted appropriately when output. Recommendations for the components used for input are

  • radio buttons-flooring type (wood or carpet);
  • text fields-customer name, customer address, floor length, and floor width; and
  • buttons-calculate area, calculate cost, submit order, display order summary, display order list.

The MySQL database table is called flooring and has the following description.

 Field

Type

CustomerName

varchar(30)

CustomerAddress

varchar(50)

FlooringType

varchar(10)

FloorArea

double

FloorCost

double

In addition to entering new customer orders, your application should list all customer orders stored in the database. These will be viewed as a list, in a text area, and will not be updated by the user. 

It needs to be in very basic java code and not very complicated.

The GUI component is not necessary.

Reference no: EM131181653

Questions Cloud

How does it apply to communication in small firms : There is a saying that goes -What you do speaks so loudly I can't hear what you say." What does this mean, and how does it apply to communication in small firms?
Required to submit a research paper : You are required to submit a research paper (minimum of 14 pages / maximum of 16 pages), not including title, reference, or other non-text pages, diagrams, etc.) using the following parameters: Describe a project to security at facility using the ..
Present a plan for argument you will be presenting in paper : present a plan for the argument you will be presenting in your paper. In a few sentences each, identify and explain the following items for your specific argument
Relationship between planning and control in small business : Explain the relationship between planning and control in a small business. - Give an example.
Calculates the flooring cost and stores : Here is your assignment: You work for a flooring company. They have asked you to be a part of their team because they need a computer programmer, analyst, and designer to aid them in tracking customer orders.  Your skills will be needed in creatin..
Discuss the reforms done or needed in industry : HI5003  Economics for Business. Scarce resources- which resource and in which country/industry are seen as scarce and what is being done in the industry or country. What substitutes have been used to overcome this problem! Micro economics - Choose ..
What type of small firm effectively use a line organization : What type of small firm might effectively use a line organization?- When might it be necessary to change the firm's structure?
Discuss nature as a source of instruction and delight : Discuss nature as a source of instruction, delight, and nourishment for the soul; return to nature as a source of inspiration and wisdom; life in nature often contrasted with the unnatural constraints of society.
What would you call this kind of monopoly : On many campuses, the official college or university bookstores used to have monopoly power in selling textbooks to students. What would you call this kind of monopoly? Is it still the case at your institution? Why or why not?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write a program that uses this scheme with select()

One solution is to fork a separate child process that copies each message from the queue to a pipe included among the file descriptors monitored by the parent. Write a program that uses this scheme with select() to monitor input from both the term..

  Radix of number system

Consider an arbitrary number system with the independent digits as 0, 1 and X. What is the radix of this number system? List the first 10 numbers in this number system.

  What is the project duration

Using any approach you wish (e.g., trial and error), develop a loading chart for resources, Electrical Engineers (EE), and resource, Mechanical Engineers (ME). Assume only one of each resource exists.

  Give the coordinates of the ''outliers''

The threshold value you gave, and the maximum distance from the centroid to the farthest point in a cluster for all the clusters. It should also give the coordinates of the 'Outliers' in a separate output file. Outliers are those points that do no..

  In the final round of a tv game show

In the final round of a TV game show, contestants have a chance to increase their current winnings of $1 million to $2 million. If they are wrong, their prize is decreased to $500,000. A contestant thinks his guess will be right 50% of the time. Shou..

  How can you address this problem

A common problem during communication occurs when you encounter two stakeholders who have conflicting ideas about what the software should be. That is, you have mutually conflicting requirements.

  Advantages to having such a policy?

advantages to having such a policy?

  Design an excess-3 code converter to drive a seven-segment

Design a circuit which displays the letters A through Jon a seven-segment indicator.The circuit has four inputs W,X , Y,Z which represent the last 4 bits of the ASCII code for the letter to be displayed.For example, if l.vXY.Z = 0001, "A" willbe d..

  Manufacturing process requires machining and finishing

A small business produces 3 types of cables: A, B, and C. The cost of in-house production is estimated to be $6, $12, and $10 per foot of A, B, and C respectively. The manufacturing process requires machining and finishing. The machining and finis..

  Label the least and most significant bit

produce a truth table showing what the next state of the machine should be as a function of the current state. then produce a combinational circuit using gates and D-flipflops that implements this state machine. label the least and most significan..

  The united states from lower slovenia

Ernest Rasche and his wife, Estelle, immigrated to the United States from Lower Slovenia in 1921, settling in Muncie Indiana. Rasche had been a talented plumber in the old country; he quickly found work at the XYZ Plumbing Supply Company.

  Perform a risk assessment for the university

Your organisation has been hired to perform a risk assessment for the University. In your own words what is a risk assessment and why is it important? Perform a vulnerability assessment for the database which was attacked.

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