How ayeadbinalamshaishab/vehicle-dealership-management-java-mini-project works
This Java Swing dealership app lets a customer choose vehicles, build a cart, enter purchase details and payment, confirm the purchase, and save an invoice. The GUI coordinates the workflow; vehicle classes provide catalog data and purchase holds transaction values. The README describes running the application but gives no additional product capabilities. Connections shown here are limited to calls or dependencies visible in the excerpts; the sales file is the invoice destination named by the saver.
Main entry points: VehiGUI.java Dealership GUI · Vehicle.java Vehicle · Motorbike.java Motorbike · InvoiceSaver.java Invoice saver
Components 9
Application entry
- Application launcher
VDM/VDM.java - Dealership GUI
VDM/VehiGUI.java
Vehicle catalog
- Vehicle contract
VDM/IVehicle.java - Vehicle
VDM/Vehicle.java - Motorbike
VDM/Motorbike.java
Purchase workflow
- Purchase record
VDM/Purchase.java - Invoice saver
VDM/InvoiceSaver.java - Sales information file
VDM/VehicleSalesInfo.txt
Other components
- Customer
Connections 9
- Application launcher → Dealership GUI: opens
VDM/VDM.java - Customer → Dealership GUI: uses
VDM/VehiGUI.java - Dealership GUI → Vehicle: creates
VDM/VehiGUI.java - Dealership GUI → Motorbike: creates
VDM/VehiGUI.java - Vehicle → Vehicle contract: extends
VDM/Vehicle.java - Motorbike → Vehicle: extends
VDM/Motorbike.java - Dealership GUI → Purchase record: processes
VDM/VehiGUI.java - Dealership GUI → Invoice saver: saves invoice
VDM/VehiGUI.java - Invoice saver → Sales information file: appends
VDM/InvoiceSaver.java