A simple Java GUI application to manage a vehicle rent agency.
This project requires at least JDK 8 to build and run. You will need Maven to build the project : find it here.
This project relies on Maven to build, and Jackson to load/save data from and to files on disk.
Maven manages dependencies by itself, so you just need to type mvn package
.
The resulting executable JAR file will be located in targets
.
A prebuilt JAR file is provided, and located in jar
.
Sample database files are provided, and located in examples
.
One can open a database file directly on startup by providing said file as a command line argument, e.g.:
java -jar CarRent-1.0-SNAPSHOT.jar database.xml
The main interface is divided in tabs, one for each type of data to manage. Vehicles are special: they are divided in each sort of vehicle in another tabbed view.
One each tab, the user can right-click anywhere and it will trigger a popup menu
(only on the Clients
and Contracts
tabs for now).
The options are :
Add
to open an input dialog to create a new entryCopy
to copy the data from the selected cell (only when clicking on a cell)Remove
to delete the selected entry (only when clicking a row)
The menu bar can be used to do the usual :
File
Open
(shortcutCtrl+O
), to open an existing database file.Save
(shortcutCtrl+S
), to save the current database file.Save As
(shortcutCtrl+Alt+S
), to save the working database to a new file.Quit
(shortcutCtrl+Q
), to exit safely from the application.
Edit
Find
(shortcutCtrl+F
), to find particular dataLock/Unlock
(shortcutCtrl+L
), to enable/disable edition in tables
- Find functionality
- Backend: ready
- Table models: ready
- Dialogs: not ready
- Drag'n'Drop to load database file
- Automatic price computation for new contracts