Flooring cost and stores the order in the database

Assignment Help Basic Computer Science
Reference no: EM131186930

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: EM131186930

Questions Cloud

Difference between the national deficit and national debt : The American Recovery and Reinvestment Act (2009) attempted to stimulate economic growth primarily using which economic policy tool?
Do you believe supreme court members should be term-limited : Do you believe Supreme Court members should be term-limited? In arguing and defending your stance to (1) above, include in your discussion counter-points made by those on the opposite side of the argument.
Determine the maximum stress in the two dielectrics : Determine the maximum stress in the two dielectrics.-  find positions of intersheaths, voltage on the intersheaths,  maximum and minimum stress.
Which of the strategies for gaining competitive advantage : Please respond to all of the following prompts: In your opinion, which of the strategies for gaining competitive advantage is most effective, and why? Which is least effective, and why?
Flooring cost and stores the order in the database : 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..
Determine the stress at corner a : A short 120 X 180-mm column supports the three axial loads shown. Knowing that section ABD is sufficiently far from the loads to remain plane
Outputs a string of the length : Give coding and decoding algorithms that given the 3-coloring, outputs a string of the length above that codes it, and given the code, outputs the original 3-coloring. (3 points algorithm description, 1 point short explanation).
Implementation of information security management policy : There are many factors that contribute to the success - or otherwise - of the implementation of an information security management policy in an organisation as big as eBay.
What is brodie law : BSBWHS401 Implement and monitor WHS policies, procedures and programs to meet legislative requirements. Answer the following questions: What is Brodie's Law? What is workplace bullying? Who has duties in relation to workplace bullying

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Find a recurrence relation with initial condition

Find a recurrence relation with initial condition(

  Write single statement print message first is followed first

Write a single statement that will print the message "first is " followed by the value of first, and then a space, followed by "second = ", followed by the value of second.

  Create a class called card that represents a playing card

Create a class called Card that represents a playing card. A Card has two fields: displayValue and suit. A card should be able to display itself.

  Sampling method and experimental design

People who eat lots of fruits and vegetables have lower rates of colon cancer than those who eat little of these foods. Fruits and vegetables are rich in "antioxidants" such as vitamins A, C, and E. Will taking antioxidants help prevent colon canc..

  Different colors and implement the transforms

Design and write a program in OpenGL to draw set of 3-D objects. Use different colors and implement the transforms (scaling, translation, rotation) and perspective projection. Include 2-3 objects and at least one light source. Specify object mater..

  Explain the differences between server-side and client

Explain the differences between server-side and client - side scripting languages. Please provide at least 3 advantages and disadvantages of each. Please cite your sources if needed.

  Given an array of n real-valued random elements

Consider the problem of selection: Given an array of n real-valued random elements and an integer k, we want to find the k th smallest element. What is the worst-case and average-case time complexity for each of the following algorithms? Provide a br..

  What is a predefined control event

What is a predefined control event? Discuss its usage in programming

  Deciding on question types and structure

Question 5.5. (TCO C) Which of these steps in interview preparation is most helpful in allowing the interviewer to build a vocabulary common to the interviewee? Deciding on question types and structure

  Developing problem-solving skills

Developing problem-solving skills, declaring variables, multi-way branches, data validation.

  What are some alternatives to using xml

Discussion question, what are some alternatives to using XML and give an example of how you might store a customer record using XML.

  History of the use of social media for crm

Social Media is becoming integral in the marketing efforts and campaigns of organizations. The benefit and impact can be significant. Compare and contrast SMM to traditional marketing.

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