Question

Java 2 Final Project A young entrepreneur has decided to start an online exotic car sales...

Java 2

Final Project

A young entrepreneur has decided to start an online exotic car sales company named Exotic Moves and he’s contacted you to build the company’s website.  You have been given the following requirements and will need to create a prototype with JavaFX:

  1. The company sells 5 brands of exotic cars (Aston Martin, Ferrari, Lamborghini, McLaren, and Maserati).  
  2. The website should allow a user to see the total inventory of cars or filter their view based on certain criteria.
  3. The website must allow the user to filter cars by brand, color, prince range, or whether the car is convertible or not.  The filters should work together (i.e. a user should be able to view all blue convertibles or all white Ferraris).
  4. A user should be allowed to click on an image and view details about a specific car. Clicking on a car image should allow the user to see a larger view of the image along with details about the car.
  5. Each car should display the following details:
    Brand
    Price
    Color
    Convertible (yes or no)
    Number of cylinders
    Time it takes to go from zero to 60 MPH
  6. Along with the details, a user should be given the option to purchase (via a button) an individual car once an image of the car is clicked.
  7. If a user chooses to purchase a car, the website should show a form asking for the user’s first and last name, credit number, credit card expiration date, and credit card 3 digit code.  Once the information is entered, the website should display a receipt.

Additional Information

UI

Your controls should enforce data validation.  First and last names can only consist of letters A-Z.  Credit card numbers should only consist of numbers and must be exactly 16 digits.  The credit card date field must allow only dates.  The credit card 3 digit code must allow only 3 numbers.

Your application window should be large enough to comfortably house all controls.  Image size must be uniform across the board. There should be 2 viewing sizes – one for viewing as a collection and one for viewing individual images.  When implementing the filtering feature, your app should present options to the user (for example, a combo box, a list, or a checkbox, control).  

Follow good UI design practices.  Your presentation should look and feel professional.  Pay attention to spacing between controls.

Object Orientation

Your program should showcase your knowledge of polymorphism, inheritance, and encapsulation.  Use accessor/mutator methods.  Demonstrate a knowledge of either abstract classes or interfaces as a super class(es).  

Specifications

Along with the zip file of car images, use the following specifications when designing your program:

Colors Offered:black, blue, green, orange, red, white, yellow
Price by brand:Ferrari-$200K, Maserati- $100K, Aston Martin $120K, McLaren- $265K, Lamborghini- $400K
0-60 Performance:McLaren-2.5 secs, Lamborghini-2.5 secs, Ferrari-2.7 secs, Aston Martin-3.6 secs, Maserati-3.8 secs

Grading:

50% - All requirements are fulfilled and program functions correctly
25% - Proper object-oriented design and modularity
15% - Proper UI design, style, and creativity
10% - Proper coding technique (commenting, formatting)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Cars Website</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="cars-website-template.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="border">
<div id="left10">
<div class="name">Car Website Name</div>
<div class="tag">Built for the road ahead.</div>
</div>
<div id="car"></div>
<div id="links-bg">
<div class="toplinks"><a href="http://all-free-download.com/free-website-templates/">Homepage</a></div>
<div class="toplinks"><a href="http://all-free-download.com/free-website-templates/">About us</a></div>
<div class="toplinks"><a href="http://all-free-download.com/free-website-templates/">Products</a></div>
<div class="toplinks"><a href="http://all-free-download.com/free-website-templates/">Services</a></div>
<div class="toplinks"><a href="http://all-free-download.com/free-website-templates/">Contact us</a></div>
</div>
<div id="mainarea">
<div id="headingbg">Car / Auto Website Title!</div>
<div class="headingbg2"></div>
<div style="background-image:url(images/bg2.gif); background-repeat:repeat-y; float:left;">
<div id="left">
<div id="main">
<p>Hi Everybody! Here is a Free Website Layout, named Cars Website Template with CSS and XHTML 1.0 Transitional Validation from CMG Technologies, Web Design India. Feel free to use this template, just keep the Designed by link at the bottom. Thanks! </p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur nibh. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum sapien enim, cursus in, aliquam sit amet, convallis eget, metus. Duis dui mi, varius at, lacinia eget, ullamcorper et, tortor. Pellentesque ac pede. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean orci mi, varius eget, mollis vel, rhoncus a, leo. Ut eros enim, vehicula quis, gravida ac, sodales sit amet, orci. Nulla eleifend tristique erat.</p>
<p>Nunc commodo metus et lorem. Phasellus vel libero. Vestibulum eu enim. Mauris pharetra. Vestibulum ligula libero, vestibulum quis, commodo non, sagittis eget, elit. Ut nec tellus. Nunc ligula quam, vulputate ut, imperdiet nec, luctus at, magna. Nunc posuere nulla ac tortor. Donec facilisis, turpis eu hendrerit ultricies, lectus sapien nonummy justo, eget rutrum lorem nulla sed nunc. Nam vestibulum neque vitae lacus aliquam tristique. Ut odio quam, mollis in, ultrices vel, ullamcorper id, diam.</p>
</div>
</div>
<div id="right">
<div id="quick_heading">Quick Links</div>
<div class="quicklinks"><a href="http://all-free-download.com/free-website-templates/">Dodge Durango</a></div>
<div class="quicklinks"><a href="http://all-free-download.com/free-website-templates/">Auto Insurance</a></div>
<div class="quicklinks"><a href="http://all-free-download.com/free-website-templates/">Famous Cars</a></div>
<div class="quicklinks"><a href="http://all-free-download.com/free-website-templates/">Used Cars</a></div>
<div class="quicklinks"><a href="http://all-free-download.com/free-website-templates/">Free CSS Templates</a></div>
<div class="quicklinks"><a href="http://all-free-download.com/free-website-templates/">Find What You Seek</a></div>
</div>
</div>
</div>
<div class="headingbg2"></div>
<div id="bottom">
<div class="bottomlink"><a href="http://all-free-download.com/free-website-templates/">Home</a></div>
<div class="sap">|</div>
<div class="bottomlink"><a href="http://all-free-download.com/free-website-templates/">About Us</a></div>
<div class="sap">|</div>
<div class="bottomlink"><a href="http://all-free-download.com/free-website-templates/">Products</a></div>
<div class="sap">|</div>
<div class="bottomlink"><a href="http://all-free-download.com/free-website-templates/">Services</a></div>
<div class="sap">|</div>
<div class="bottomlink"><a href="http://all-free-download.com/free-website-templates/">Contact</a></div>
</div>
<center>
<div class="quicklinks">Designed by <a href="http://www.cmgtechnologies.com/">CMG Technologies</a>, Free <a href="http://all-free-download.com/free-website-templates/">CSS Templates</a></div>
</center>
</div>
</div>
<div align=center>This template downloaded form <a href='http://all-free-download.com/free-website-templates/'>free website templates</a></div></body>
</html>

//This is the body characteristics of the website.It should be saved in a seperate file in the same location and be inherited to the main website page as done in the above main website page.

body{
font: normal small Arial, Helvetica, sans-serif;
color: #636D78;
text-align:justify;
font-size:13px;
margin-top:0px;
margin-left:100px;
margin-right:0px;
margin-bottom:0px;
background-color:#272C32;
}
#border
{width:779px;
float:left;
}
#left10
{width:310px;
height:260px;
float:left;}
#car
{width:261px;
height:260px;
float:left;
background-image:url(images/cars.jpg); background-repeat:no-repeat;}
#links-bg
{width:208px;
height:260px;
float:left;
background-color:#585F65;}
.name
{color:#ffffff;
padding-top:100px;
font-family:"Century Gothic", "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
text-transform:uppercase;
font-size:32px;}
.tag
{color:#ffffff;
padding-left:4px;
padding-top:4px;}
#headingbg
{
background-color:#1A1D22;
height:40px;
line-height:40px;
clear:both;
color:#7F8A97;
font-family:arial;
text-transform:uppercase;
font-weight:bold;
padding-left:15px;
}
.headingbg2
{
background-color:#951E2B;
height:5px;
font-size:1px;
}
#bottom
{height:40px;
width:779px;
line-height:40px;
background-color:#1A1D22;
float:left;}
#main
{padding-right:10px;
padding-top:10px;
padding-bottom:10px;}
.sap
{width:1px;
float:left;
color:#778492;
text-align:center;
}
.bottomlink
{width:152px;
text-align:center;
float:left;
}
.bottomlink a
{color:#778492;
text-decoration:underline;
}
.bottomlink a:hover
{color:#778492;
text-decoration:none;}
.sap2
{width:1px;
height:32px;
float:right;
}
.toplinks
{line-height:52px;
width:188px;
font-weight:bold;
text-transform:uppercase;
padding-left:20px;}
.toplinks a
{color:#C2C8D0;
text-align:center;
display:block;
height:52px;
background-image:url(images/off.jpg); background-repeat:no-repeat;
text-decoration:none;
}
.toplinks a:hover
{color:#C2C8D0;
background-image:url(images/on.jpg); background-repeat:no-repeat;}
a{color:#ffffff;
text-decoration:underline;
}
a:hover
{color:#ffffff;
text-decoration:none;
}
#header
{background-image:url(images/bg.jpg); background-repeat:repeat-x;
height:140px;}
#right
{width:208px;
float:left;}
#left
{width:571px;
float:left;}
#quick_heading
{line-height:40px;
background-color:#951E2B;
width:198px;
font-size:18px;
color:#C2C8D0;
padding-left:10px;
height:40px;}
.quicklinks
{padding-left:10px;
line-height:33px;
height:33px;}
.quicklinks a
{color:#C2C8D0;
font-weight:bold;}
.quicklinks a:hover
{color:#ffffff;}

//I could not find an option to attach a file of images that i have used in the website.My apologies for that.

//Images have to be saved in the same location of the main website page and then the directory to the respective image must be mentioned in the main website code.

Add a comment
Know the answer?
Add Answer to:
Java 2 Final Project A young entrepreneur has decided to start an online exotic car sales...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • internal project 1 anything helps! thank you!! Instructions: Study the case that starts on page 3...

    internal project 1 anything helps! thank you!! Instructions: Study the case that starts on page 3 carefully. Then write concise answers to the following questions regarding the internal control system of Duarf, Inc. Clearly label your responses with proper headings and subheadings. Be very specific and precise. Answers that appear to be beating around the bush will not get any credit. 1. What are the controls in place that under normal conditions should function well to prevent embezzlements or frauds?...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT