Car Rental & Management System
The Car Rental & Management System developed in Java GUI provides a user-friendly interface for customers to browse available cars, make reservations, and manage bookings. Admins can oversee the car inventory, bookings, and user accounts. The system includes features like user authentication, interactive forms, data validation, and optional database integration for seamless functionality and efficient management of car rental operations.
Applications and files needed in the program
- Apache Netbeans
- Xampp
- SQL file from this repository
- Java SQL connector (https://dev.mysql.com/downloads/connector/j/)
- Date Chooser (provided in this repo)
Setting up the Xampp
- Install Xampp
- Open
- Start Apache
- Start MySQL and click Admin
- Create table named "carrentaldb"
- Import the SQL from this repository
Setting up Java SQL Connector
- Open our project
- Locate libraries
- Right-click libraries
- Click Add/JAR Folder
- Locate the mysqlconnector.jar that you downloaded.
Setting up JDateChooser
- Open our project
- Navigate through the menu bar then find Tools
- Click Tools -> Palette -> Swing/AWT Components
- Click add from JAR
- Locate JCalendar folder
- Open JCalendar folder -> lib -> jcalendar-1.4 -> next
- Click JDateChooser -> next -> Swing Controls -> finish
- You should see JDateChooser in the Swing Controls
How to run the program?
- Under the main branch of this repository click Code -> Download Zip File
- Extract
- Open Xampp Control Panel
- Start Apache
- Start mySQL
- Open Apache Netbeans
- Click file -> open project -> Locate the carRentalProject that you extracted -> Open
- Under LoginPage Package
- Right Click login -> Run file
Screenshots
Login page
Registration page
Rent a Car page
List of Sedan Cars
List of SUV Cars
Admin Dashboard
List of Users
List of Vehicles that are rented
Add/Delete a Car