Skip to content

John-Malcolm-Design/Auto-Seller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Auto-Seller

Java application for buying and selling cars.

Author: John Malcolm Anderson
Version: 1.0
Source: https://github.com/johnmalcolm101/Auto-Seller/

This application was created in eclipse and uses the javax.swing package (https://docs.oracle.com/) for the GUI and SQlite (http://www.sqlite.org) for a database.

Note RE: Java Project Assignment:
The program only utilizes the autoseller package. The classes in the cars package are not currently being referenced but can be used for future development and demonstate my knowledge of polymorphism, inheritance, abstract classes, final classes, static variables, the use of the super keyword and more. The application classes that are in use are the ones in the autoseller package, these classes demonstrate other abilites but I thought i would also include the cars package seen as it includes a lot of what we have covered this semester.

Contents:

autoseller package:

1. Login
2. SignUp
3. AutoSellerMain
4. PayNow
5. AutoSellerException
6. SqliteConnection

cars package:

1. Car
2. Electric
3. Recreational Vehicle
4. Regular Car
5. Sports
6. Suv
7. TestClass

N.B - See the comments at the beginning of each class for a thorough description

Desciption:

The applications entry point is the Login class - Most of the functionality of the program will not work if you run a class without first logging in! So in order to test any page in the autoseller package always run the login class - either login or sign up and then progress to other frames.

The application allows you to buy cars and sell cars - the cars are stored in an SQlite database in the Resources subdirectory. Different car types are stored in different tables, users and sold cars also have their own tables.

Note: Method calls at end of the AutoSellerMain class need to be commented out in order to open the AutoSellerMain class in design view in eclipse. Application will not function unless you sign in. The program also requires an active internet connection for the connection to PayPal.

Quality Assurance

The following are future improvements that are currently in development
  • Better error handling for incorrect or missing data from user when selling a car.
  • Utilisation of the cars package for added functionality and clearer code
  • Improved UI
  • Image for cars and for users
  • Better handling of boolean user inputs

About

Java application for buying and selling cars.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages