This project is a Library Management System built using Java Swing. It provides an interactive graphical user interface (GUI) to manage a collection of books in a library. Users can add, update, and remove books, as well as view the details of the books in a tabular format.
-
Add Books
- Allows users to input the book's details (Title, Author, ISBN, Year, Genre, Availability) and add them to the list.
-
Update Books
- Enables users to edit the details of a selected book and update the information in the table.
-
Remove Books
- Allows users to remove a selected book from the list.
-
View Book List
- Displays all books in a tabular format, including their details such as Title, Author, ISBN, Year, Genre, and Availability.
-
Tabbed Interface
- The application provides two tabs:
- Book Details: For adding and updating book details.
- Book List: For viewing the list of books.
- The application provides two tabs:
-
Interactive GUI
- Built using Java Swing, providing an intuitive and easy-to-use interface.
- Language: Java
- Framework: Java Swing
- IDE: IntelliJ IDEA / Eclipse / NetBeans (or any preferred IDE for Java)
-
Clone the Repository:
git clone https://github.com/yourusername/library-management-system.git cd library-management-system
-
Compile the Program: Navigate to the folder containing the Java file and run:
javac q1.java
-
Run the Program: Execute the compiled program:
java q1
-
Use the Application:
- Enter book details in the Book Details tab.
- Click on the appropriate button to perform actions:
Add Book
to add a new book.Update Book
to modify an existing book (select the book from the list first).Remove Book
to delete a selected book from the list.
-
Menu Bar:
- Includes
File
,Edit
, andHelp
options (currently non-functional placeholders for future enhancements).
- Includes
-
Toolbar:
- Buttons for
Add Book
,Update Book
, andRemove Book
for quick access to core functionalities.
- Buttons for
-
Book Details Form:
- Input fields for:
- Title, Author, ISBN, Year, Genre (dropdown), and Availability (checkbox).
- Input fields for:
-
Book List:
- Displays all books in a table with columns for:
- Title, Author, ISBN, Year, Genre, and Availability.
- Displays all books in a table with columns for:
-
Tabbed Pane:
- Two tabs for Book Details and Book List.
- Add search functionality to find books by Title, Author, or ISBN.
- Implement file saving/loading to persist the book data across sessions.
- Add a "Help" section with user instructions.
- Include sorting and filtering options for the book list.
Contributions are welcome! If you'd like to improve this project, feel free to fork the repository and submit a pull request.
This project is open-source and available under the MIT License.
- This project was created by Sneh Pareshkumar Patel as part of the coursework.
- Student ID: RA2311003010884.