0% found this document useful (0 votes)
13 views21 pages

Java Project 1

Uploaded by

sawantvasu60
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
13 views21 pages

Java Project 1

Uploaded by

sawantvasu60
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 21

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

ZEAL EDUCATION SOCIETY’S

ZEAL POLYTECHNIC

MICROPROJECT
Academic year: 2024-25

Inventory Management System

Program: Computer Engineering. Program code: CO


Course: Advanced Java Course code: 22517
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Certificate
This is to certify that Mr. /Ms. ……………………………………………………………..
Roll No. ……... of ……. Semester of Diploma in ………………………………………...
…………………………of Institute, ZEAL POLYTECHNIC (Code: 0988) has completed
the Micro Project satisfactorily in Subject –Advanced Java Subject Code: 22517 for
the academic year 2024- 2025 as prescribed in the curriculum.

Place: ……………………. Enrollment No: ……………………………………..

Date: ……………………… Exam. Seat No: …………………………………….

Subject Teacher Head of Department Principal


MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Certificate
This is to certify that Mr. /Ms. ……………………………………………………………..
Roll No. ……... of ……. Semester of Diploma in ………………………………………...
…………………………of Institute, ZEAL POLYTECHNIC (Code: 0988) has completed
the Micro Project satisfactorily in Subject –Advanced Java Subject Code: 22517 for
the academic year 2024- 2025 as prescribed in the curriculum.

Place: ……………………. Enrollment No: ……………………………………..

Date: ……………………… Exam. Seat No: …………………………………….

Subject Teacher Head of Department Principal


MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Certificate
This is to certify that Mr. /Ms. ……………………………………………………………..
Roll No. ……... of ……. Semester of Diploma in ………………………………………...
…………………………of Institute, ZEAL POLYTECHNIC (Code: 0988) has completed
the Micro Project satisfactorily in Subject –Advanced Java Subject Code: 22517 for
the academic year 2024- 2025 as prescribed in the curriculum.

Place: ……………………. Enrollment No: ……………………………………..

Date: ……………………… Exam. Seat No: …………………………………….

Subject Teacher Head of Department Principal


MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Certificate
This is to certify that Mr. /Ms. ……………………………………………………………..
Roll No. ……... of ……. Semester of Diploma in ………………………………………...
…………………………of Institute, ZEAL POLYTECHNIC (Code: 0988) has completed
the Micro Project satisfactorily in Subject –Advanced Java Subject Code: 22517 for
the academic year 2024- 2025 as prescribed in the curriculum.

Place: ……………………. Enrollment No: ……………………………………..

Date: ……………………… Exam. Seat No: …………………………………….

Subject Teacher Head of Department Principal


MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Certificate
This is to certify that Mr. /Ms. ……………………………………………………………..
Roll No. ……... of ……. Semester of Diploma in ………………………………………...
…………………………of Institute, ZEAL POLYTECHNIC (Code: 0988) has completed
the Micro Project satisfactorily in Subject –DCC Subject Code: 22414 for the
academic year 2023- 2024 as prescribed in the curriculum.

Place: ……………………. Enrollment No: ……………………………………..

Date: ……………………… Exam. Seat No: …………………………………….

Subject Teacher Head of Department Principal


Group Details:

Sr No Name of group members Roll No Enrollment No Seat No


1 Bendre Samruddhi 4 2209880203
2 Labhasetwar Vaishnavi 26 2209880278
3 Sawant Pranali 36 2209880343
4 Waghmode Srushti 46 2209880387

Name of Guide: Prof. Komal Babar


INDEX

SR.NO. CONTENT PAGE NO.

1 PROJECT ABSTRACT 1

2 MAIN CONTENT 2

3 CONCLUSION 9

4 WEEKLY PROJECT REPORT 10

5 REFERENCES USED 11

6 SOURCES USED 11

7 EVALUATION SHEET 12
PROJECT ABSTRACT:

The Inventory Management System is a basic Java project designed to help small
businesses track and manage their product inventory efficiently. This system provides an
easy way to add, remove, and view products in the inventory. The main goal of this
project is to simplify inventory management by using a graphical user interface (GUI) in
Java, without relying on any database, making it suitable for beginner-level learners.
Content

 Introduction:
The inventory management system helps keep track of items in stock. It allows
users to perform basic operations such as adding new items, removing items, and
displaying the current inventory list. This simple Java-based system uses Swing for
creating the GUI and stores data in an ArrayList.

 Objectives

 To develop a simple inventory management system in Java.


 To allow users to add, view, and remove items.
 To create a user-friendly graphical interface without using a database.
 To keep the system small and easy to understand for educational purposes .

 Features

 Add items to the inventory (name and quantity)


 Remove selected items from the inventory
 Display the list of available items in the inventory

 Tools and Technologies

 Programming Language: Java


 GUI Framework: Java Swing
 Data Structure: ArrayList (for storing items in memory)
 System Design :

The system uses a JFrame (Swing-based GUI) to provide a graphical interface for the
user. Items are stored in an ArrayList, which holds the item names and quantities..

 Project Modules:
 Add Item Module:
Users can input item names and quantities. The items are stored in a simple
ArrayList.
 Remove Item Module:

Users can select and remove items from the list.

 View Inventory Module:

This module displays all items currently in the inventory.


Code:

import javax.swing.*;
import java.awt.event.*;
import java.util.ArrayList;

public class InventoryManagementSystem {


// List to store inventory items
ArrayList<String> inventory = new ArrayList<>();

public static void main(String[] args) {


new InventoryManagementSystem().createGUI();
}

// Method to create GUI


public void createGUI() {
JFrame frame = new JFrame("Inventory Management");
frame.setSize(400, 300);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

// Text fields for input


JTextField itemNameField = new JTextField();
JTextField itemQuantityField = new JTextField();
itemNameField.setBounds(100, 50, 200, 30);
itemQuantityField.setBounds(100, 100, 200, 30);

// Buttons
JButton addButton = new JButton("Add Item");
JButton removeButton = new JButton("Remove Item");
JButton viewButton = new JButton("View Items");
addButton.setBounds(50, 150, 100, 30);
removeButton.setBounds(160, 150, 120, 30);
viewButton.setBounds(290, 150, 100, 30);

// Adding components to frame


frame.add(itemNameField);
frame.add(itemQuantityField);
frame.add(addButton);
frame.add(removeButton);
frame.add(viewButton);
frame.setLayout(null);
frame.setVisible(true);

// Action for Add Button


addButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
String itemName = itemNameField.getText();
String itemQuantity = itemQuantityField.getText();
if (!itemName.isEmpty() && !itemQuantity.isEmpty()) {
inventory.add(itemName + " - Quantity: " + itemQuantity);
JOptionPane.showMessageDialog(frame, "Item Added!");
itemNameField.setText("");
itemQuantityField.setText("");
} else {
JOptionPane.showMessageDialog(frame, "Please enter both fields.");
}
}
});

// Action for Remove Button


removeButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
String itemName = itemNameField.getText();
if (inventory.removeIf(item -> item.contains(itemName))) {
JOptionPane.showMessageDialog(frame, "Item Removed!");
} else {
JOptionPane.showMessageDialog(frame, "Item not found!");
}
itemNameField.setText("");
itemQuantityField.setText("");
}
});

// Action for View Button


viewButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (inventory.isEmpty()) {
JOptionPane.showMessageDialog(frame, "No items in inventory.");
} else {
JOptionPane.showMessageDialog(frame, "Inventory: " + String.join(", ",
inventory));
}
}
});
}
}
OutPut:

 After Added a item:


 After Remove a Item:
 View a Items:
Conclusion

This Inventory Management System is a basic Java project designed for beginners to
understand how to manage inventory items without using a database. It uses a simple GUI and
stores items in an ArrayList. The project can be further expanded by adding more features
such as searching for items, editing items, and using a database for more complex scenarios .
WEEKLY PROGRESS REPORT
MICRO PROJECT

SR.NO. WEEK ACTIVITY PERFORMED SIGN OF GUIDE DATE

1 1st Discussion and finalization of topic

2 2nd Preparation and submission of Abstract

3 3rd Literature Review

4 4th Collection of Data

5 5th Collection of Data

6 6th Discussion and outline of Content

7 7th Formulation of Content

Editing and proof Reading of


8 8th
Content

9 9th Compilation of Report and Presentation

10 10th Seminar

11 11th Viva voce

12 12th Final submission of Micro Project

Sign of the student Sign of the Faculty


 REFERENCES:

 https://copyassignment.com/inventory-management-system-project-in-
java/#google_vignette

 SOURCES USED: :
 Link
 Google
 Book
 Computer
MICRO PROJECT EVALUATION SHEET
Academic Year: 2024-25 Name of the Faculty: Mrs. Tejal Panmand

Course: Software Engineering Course code: 22517 Semester: V

Title of the project: Inventory management system

COs addressed by Micro Project:


A:
B:
C:
D:

Major learning outcomes achieved by students by doing the project


(a) Practical outcome:
1)
2)
(b) Unit outcomes in Cognitive domain:
1)
2)
(c) Outcomes in Affective domain:
1)
2)

Comments/suggestions about team work /leadership/inter-personal communication (if any)

………………………………………………………………………………………………………………
Marks out of 6 Marks out of 4for
Roll for performance performance in oral/
No in group activity presentation
Student Name Total out of 10
(D5 Col.8) (D5 Col.9)
4 Samruddhi Bendre
26 Vaishnavi Labhasetwar
36 Pranali Sawant
46 Srushti Waghmode

(Signature of Faculty)

You might also like