The Shuttle Tracking System is a Java application that allows users to track the location of shuttles on a map. It provides separate functionality for both drivers and users. Drivers can view and update their current location, while users can view the locations of available shuttles and request a shuttle pickup.
-
DriverMap: This module provides a graphical user interface for drivers to view and update their current location on a map.
-
UserMap: This module allows users to view the locations of available shuttles on a map and request a shuttle pickup.
-
DbConnection: This module establishes a connection to a MySQL database using JDBC and provides a method to retrieve the database connection object.
-
DriverController: This module contains the logic for the DriverMap GUI. It handles the display of shuttles and users on the map and updates their locations periodically.
-
LoginController: This module handles the login functionality for both drivers and users. It validates the entered credentials against the database and grants access to the corresponding map module.
- JavaFX: The application uses JavaFX for the graphical user interface.
- MySQL Connector/J: The application requires the MySQL Connector/J library to connect to the MySQL database.
- Clone the repository or download the source code.
- Import the project into your preferred Java IDE.
- Make sure the required dependencies are added to the project.
- Configure the MySQL database connection details in the
DbConnection
module. - Compile and run the application.
- Launch the application.
- Login as a driver or user using the provided credentials.
- If logged in as a driver, update your current location on the map.
- If logged in as a user, view the available shuttles on the map and request a pickup.
- The map will automatically update to reflect the current locations of shuttles and users using multithreaded UI-engagement and Model Updation Model.
- Mehran Wahid - Github
- Abdullah Saim
- Areeba Tanveer - Github.
- Aniqa Tufail - Github
- Onkar - Github
- Muneeb Ahmed
- Muhammad Abubakar
Contributions to the Shuttle Tracking System are welcome. If you find any issues or have suggestions for improvements, please submit a pull request or open an issue.
This project is licensed under the MIT License.