Skip to content

Siddhipatade/Library-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Library Management System

This is a simple Library Management System implemented in Java Swing. It allows users to add, view, edit, and delete books from the library.

Features

  • Add a book with details such as book ID, title, author, publisher, year of publication, ISBN, and number of copies.
  • View all the books in a table format.
  • Edit the details of a book by entering the book ID.
  • Delete a book by entering the book ID.
  • Clear all the input fields.
  • Exit the application.

Prerequisites

  • Java Development Kit (JDK) installed on your system.
  • Any Java IDE or text editor.

How to Run

  1. Clone the repository or download the source code files.
  2. Open the project in your preferred Java IDE.
  3. Build and run the LibraryManagement.java file.
  4. The Library Management System application will open in a window.

Usage

  1. Add a Book:

    • Enter the details of the book in the respective input fields.
    • Click the "Add" button to add the book to the library.
    • A success message will be displayed, and the fields will be cleared.
  2. View Books:

    • Click the "View" button to see all the books in a table format.
    • The table displays the book ID, title, author, publisher, year of publication, ISBN, and number of copies.
  3. Edit a Book:

    • Click the "Edit" button.
    • Enter the book ID of the book you want to edit.
    • Modify the details in the input fields.
    • Click the "Edit" button again to save the changes.
    • A success message will be displayed, and the fields will be cleared.
  4. Delete a Book:

    • Click the "Delete" button.
    • Enter the book ID of the book you want to delete.
    • Click the "Delete" button again to confirm the deletion.
    • A success message will be displayed, and the fields will be cleared.
  5. Clear Fields:

    • Click the "Clear" button to clear all the input fields.
  6. Exit the Application:

    • Click the "Exit" button to close the application.

Screenshot

image

image

Contributing

Contributions to the Library Management System are welcome! If you find any issues or have suggestions for improvements, please feel free to submit a pull request or open an issue.

About

simple Library Management System implemented in Java Swing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages