Skip to content

Developed a Java Swing–based Inventory Management System using DSA to automate inventory operations with a user-friendly GUI.

Notifications You must be signed in to change notification settings

bhardwajharsh07/Inventory-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inventory-Management-System

Problem Statement

Manual inventory management often leads to inaccurate stock levels, duplicate records, slow retrieval, and human errors. Existing solutions can be complex or expensive for small organizations. This project addresses these issues by providing a GUI-based inventory system that supports core inventory operations using optimized DSA concepts.

Tech Stack

  • Language: Java (JDK 17+)
  • GUI: Java Swing & AWT
  • IDE: IntelliJ IDEA
  • Concepts: Data Structures & Algorithms, OOP

Data Structures & Algorithms Used

  • ArrayList: Dynamic storage of inventory items
  • HashMap: Fast key-based lookups (product ID)
  • Stack: Undo functionality for add, delete, update, and sort operations
  • Searching: Linear search (extendable to binary search)
  • Sorting: Comparator-based sorting (by name, price, quantity)

System Architecture

The application follows a three-layer architecture:

  • User Interface Layer Built with Java Swing (JFrame, JTable, JButton, JComboBox) Handles all user interactions

  • Application Logic Layer Core classes like InventoryManager, Product, and Action Implements business logic and DSA operations

  • Data Storage Layer In-memory storage using ArrayList and HashMap Designed for easy future database integration

Key Features

  • Add, update, delete, search, and sort inventory items
  • Undo functionality using stack-based action tracking
  • Search with row highlighting for quick identification
  • Low-stock detection with visual highlighting
  • Exclusive sorting options (name, price, quantity)
  • Status bar feedback for every operation
  • Login authentication system
  • Modular and scalable code structure

Application Workflow

  • User logs in through the authentication screen
  • Inventory dashboard displays product list and controls
  • User performs operations (Add / Update / Delete / Search / Sort)
  • Backend processes data using DSA
  • GUI updates in real time with confirmation messages

Learning Outcomes

  • Practical implementation of DSA in real-world applications
  • Hands-on experience with Java Swing GUI development
  • Understanding of modular software design and architecture
  • Effective use of Stacks for undo operations
  • Improved debugging, validation, and user-experience design skills

About

Developed a Java Swing–based Inventory Management System using DSA to automate inventory operations with a user-friendly GUI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages