Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

------------------------------------------------------------------------
This is the project README file. 
------------------------------------------------------------------------
## Project Title:
Car Management System

## Purpose of Project:
The purpose of this project is to provide a user-friendly graphical interface for managing fuel and electric cars.
It allows users to add new cars, purchase and sell cars, and display car information easily.

## Version or Date:
Version 1.0 (June 2023)

## How to Start This Project:
1. Clone the repository or download the project files.
2. Ensure you have Java Development Kit (JDK) installed on your system.
3. Open the project in your preferred Java Integrated Development Environment (IDE).
4. Build and compile the project.
5. Run the CarManagementSystem.java file to start the application.

## Authors:
This project was developed by m4ndil.

## User Instructions:
1. Launch the Car Management System application.
2. Fill in the required car details in the respective text fields.
3. To add a new car:
   - Click the "Add a new FuelCar" button to create a new FuelCar object.
   - Click the "Add a new ElectricCar" button to create a new ElectricCar object.
4. To purchase a FuelCar:
   - Enter the car details, including Car ID, Car name, Car brand, Car color, Transmission type, and Distributor name.
   - Select a valid Purchase Date and Booked Date from the provided comboboxes.
   - Click the "Purchase FuelCar" button.
5. To buy an ElectricCar:
   - Enter the car details, including Car ID, Car name, Car brand, Car price, Car color, Customer name, Battery warranty, Range, and Recharge time.
   - Select a valid Purchase Date from the provided combobox.
   - Click the "Buy ElectricCar" button.
6. To sell an ElectricCar:
   - Enter the Car ID and Customer name of the car to be sold.
   - Click the "Sell ElectricCar" button.
7. To display car information:
   - Click the "Display" button to view the information related to the appropriate class (FuelCar or ElectricCar).
8. To clear the text fields:
   - Click the "Clear" button to reset the values in the text fields.

Additional Information:
- Ensure you have entered valid and correct input in the text fields.
- The text fields for number of seats, mileage, battery capacity, battery warranty, and recharge time should only contain whole numbers. Any non-numeric input will result in an error message.
- If you encounter any issues or errors, please refer to the documentation or contact the authors for support.

## License:
This project is licensed as free and can be used by giving the credits.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages