Here is your assignment you work for a flooring company


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.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Here is your assignment you work for a flooring company
Reference No:- TGS01563891

Now Priced at $30 (50% Discount)

Recommended (99%)

Rated (4.3/5)