Skip to content

abdurrahmanfaqihiskandar/CarparkSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Details

PROJECT TITLE: Carpark System

PURPOSE OF PROJECT: Project 2 for Object Oriented Programming module

VERSION or DATE: 15 May 2024

HOW TO START THIS PROJECT: Ensure you have Java 21 installed. Run the CarparkSystem java file.

AUTHORS: Abdurrahman Faqih Bin Iskandar 104675143

User Instructions

System requirements

Java 21.

Add parking spot

Add a new parking spot in car park.

Click on add parking spot button. Enter ID for new parking spot.

Parking spot ID must be an uppercase letter followed by 3 digits.

Delete parking spot

Delete parking spot from car park.

Click on delete parking spot button. Enter ID of parking spot to delete.

Parking spot ID must be an uppercase letter followed by 3 digits.

Parking spot with entered ID must exist.

Parking spot with entered ID must not be occupied.

List parking spots

Summary of car park and lists details of each parking spot in car park.

Click on list parking spots button.

Park a car

Parks a car in an unoccupied spot in the car park.

Click on park a car button. Enter ID of parking spot and car details.

Parking spot ID must be an uppercase letter followed by 3 digits.

Parking spot with entered ID must exist.

Parking spot with entered ID must not be occupied.

Car registration number must be an uppercase letter followed by 4 digits.

Car make and model must not be empty.

Car year must be between 2004 and 2024 inclusive.

Car must not already be parked in another parking spot.

Find car by registration number

Finds a car in the car park by registration number.

Click on find car by reg number. Enter registration number of car to find.

Car registration number must be an uppercase letter followed by 4 digits.

Shows "Not found" if car is not found

Remove car by registration number

Removes a car in the car park by registration number.

Click on remove car by reg number. Enter registration number of car to find.

Car registration number must be an uppercase letter followed by 4 digits.

Car must already be parked in car park.

Find car by make

Finds all cars with the entered make.

Click on find car by make. Enter make of car(s) to find.

Car make must not be empty.

Shows "Not found" if no car is found.

Reset car park

Resets car park by removing all parked cars.

Click on reset carpark button.

Exit program

Exits application and closes window.

Click on exit program button.

About

Carpark system created using Java GUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages