APPLICATION: CarFax Application to look up and enter car records see image.
OBJECTIVE: Create a GUI DB Java Application
Class | Description |
Car | Holds information about the Car object |
CarFaxApp | Application class starts up the application has the main method |
CarFaxDB | Database class. Has methods to load data from DB and save data to DB |
CarFaxFrame | Frame class has the UI design for the frame and controls |
CarFaxValidator | Validator class responsible for validating all data input |
Field | Datatype | Validation |
VIN | String | Has to be 5 chars (numbers + letters is ok) |
MAKE | String | Cannot be blank |
MODEL | String | Cannot be blank |
YEAR | Integer | Has to be greater than 0 |
Form Operations
Button Operations
Operation | VIN | Make | Model | Year | Result Screenshot |
ADD | Villi | Honda | Accord | 2003 | Y |
ADD | V2222 | Acura | Integra | 2001 | Y |
ADD | V3333 | BMW | 3251 | 2006 | Y |
ADD | V4444 | Mercedes | CL320 | 2004 | Y |
ADD | VSSSS | Nissan | 350Z | 2005 | Y |
UPDATE | V3333 | SCION | TC | 2010 | Y |
UPDATE | V4444 | Mitsubishi | Lancer | 2012 | Y |
FIND | V3333 | Y | |||
DELETE | V2222 | Y | |||
FIND | V2222 | Y | |||
ADD | V1111 | Acura | Integra | 2001 | Y |
ADD | V2222 | Acura | Integra | 2001 | Y |