Book library System Book_library.java :
- Holds all the rules of the book class.
- Deals with the writing and manipulation of book information in the txt files Book_temp:
- Temporary file used to help in writing to books.txt, only a temporary storage unit Books.txt:
- Main storage file that is used to hold all of the books information, and attributes. Driver.java:
- Main starter app. You should only run this file to start the program. Gui.java:
- Class the holds all the gui elements, and it the parent class for book_library. Features: 1- Add new books 2- Delete books 3- Borrow books for a certain period of days (only if returned or borrow date has passed by) 4- Return books (return books whenever and only when they are borrowed) 5- Print a table of all the books in the storage. 6- Create new id for each book and replace deleted id for the latest deleted book
Main interface
Wrong input instructions
wrong period input while trying to borrow a book with id 1
Printing each book’s information(status button)