SlideShare a Scribd company logo
Green University of Bangladesh
Department of Computer Science and Engineering (CSE)
Faculty of Sciences and Engineering
Semester: (Spring, Year: 2022), B.Sc. in CSE (Day)
LAB PROJECT REPORT
Course Title: Object Oriented Programming Lab
Course Code: CSE-202 Section: Dc
Student Details
Name ID
1. Aarabia Hossain 211002006
Submission Date : 16-05-2022
Course Teacher’s Name : Ayesha Khatun
[For Teachers use only: Don’t Write Anything inside this box]
Project Proposal Status
Marks: ………………………………… Signature: .....................
Comments: .............................................. Date: ..............................
1. TITLE OF THE PROJECT
Restaurant Management Software
Restaurant Management Software is a console based application which is built using
java. This application helps in management of Customer, Shop Employee, admin in
an easy and comfortable way. Using this Application Customer can quickly Sign up,
Login, view his/her profile, view all available Product, Order Booking Product, view
choose Product , give feedback, pay online Payment and logout. Admin can add
Product, view all Customer list , view Employee list, remove Product, and see
feedback given by Customer. The owner of the shop can login, view profile, view
Products, and logout.
2. PROBLEM DOMAIN & MOTIVATIONS
Mainly I am interested in this project because it is very relatable to all
common people.
Most of the times we face many problems while buying things. this project
can solve most of the problems that we face in Shop and can provide a
better service.
Because of the Covid-19 situation, now it is more important to build and
use this type of program for better decision making.
The Customer will be able to see if his productsis there before coming to
the store.
3. OBJECTIVES/AIMS
Design a system for better Customer Service .
Reduce Shop operating costs and better service all people .
Provide Management Information System report on demand to
management for better decision making.
Provide top management a single point of control.
As a result of this service, the details of all the items and products will
be nown in quick time.
Better Inventory Accuracy.
Reduced Risk of Overloading and Cost Savings.
4. TOOLS & TECHNOLOGIES
NetBeans:
NetBeans is an integrated development environment (IDE) for Java. NetBeans
allows applications to be developed from a set of modular software components
called modules. NetBeans runs on Windows, macOS, Linux and Solaris. In addition
to Java development, it has extensions for other languages like PHP, C, C++,
HTML5, and JavaScript. Applications based on NetBeans, including the NetBeans
IDE, can be extended by third party developers.
Code Part:
try {
for (int r = 0; r < 100; r++) { //initializing row
for (int c = 0; c < 4; c++) { //initializing column
jTable1.setValueAt(null, r, c);
}
}
BufferedReader rdfile = new BufferedReader(new
FileReader("items.txt"));
String[] item = new String[100];
String[] temp;
int x = 0; //read item
while ((item[x] = rdfile.readLine()) != null) {
temp = item[x].split("t");
jTable1.setValueAt((1000 + x + 1), x, 0);
for (int j = 1; j < 4; j++) {
jTable1.setValueAt(temp[j - 1], x, j);
}
Code Part 2:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
Search a= new Search();
a.setVisible(true);
a.setDefaultCloseOperation(Search.DISPOSE_ON_CLOSE);
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
Display_Purchase a= new Display_Purchase();
a.setVisible(true);
a.setDefaultCloseOperation(Display_Purchase.DISPOSE_ON_CLOSE);
}
private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {
int exit=JOptionPane.showConfirmDialog(null, "ARE YOU SURE YOU WANT TO EXIT?");
if(exit==0){
JOptionPane.showMessageDialog(null, "Thank You :)");
System.exit(0);
}
Output:
Code Part 3:
try{
if( jTextField1.getText().equals(""))
JOptionPane.showMessageDialog(null, "Enter item!", "Oops Wait...!",
JOptionPane.ERROR_MESSAGE);
else{
for( int r=0; r<100; r++) //initializing row
for( int c=0; c<4; c++) //initializing column
jTable1.setValueAt("", r, c);
BufferedReader rdfile= new BufferedReader( new FileReader("items.txt"));
String[] line= new String[100];
String search="", output="", target="";
boolean same= false, found=false;
int x=0, row=0;
while( (line[x]= rdfile.readLine()) != null)//reading items.txt; asigning to array[] line
x++;
rdfile.close();
search= jTextField1.getText();
for( int k=0; line[k] != null; k++){
same= false;
target="";
for( int j=0; j < search.length(); j++)
target+= line[k].charAt(j);
if( search.equals(target))
same=true;
if( same){
String[] temp= line[k].split("t");
jTable1.setValueAt((1000+k+1), row, 0);
for( int i=1; i<4; i++)
jTable1.setValueAt(temp[i-1], row,i);
row++;
found=true;
}
}
if( !found)
JOptionPane.showMessageDialog(null, "Item(s) not found!", "Ooops!",
JOptionPane.ERROR_MESSAGE);
jTextField1.setText("");
}
}catch(IOException e){}
5. CONCLUSION
With the help of this software management the customer finds his desired product in
a very quick time. Employee can find the products in qucik time . The company has
a little draft list of products. Avoiding Stockouts and Excess Stock and More
productivity. This Software can Better Customer Experience . It can Increased
Employee Efficiency. This software when we use no more manual work and data
security.

More Related Content

Similar to ARabia hossain project report.pdf

Building workflow solution with Microsoft Azure and Cloud | Integration Monday
Building workflow solution with Microsoft Azure and Cloud | Integration MondayBuilding workflow solution with Microsoft Azure and Cloud | Integration Monday
Building workflow solution with Microsoft Azure and Cloud | Integration MondayBizTalk360
 
IndexedDB and Push Notifications in Progressive Web Apps
IndexedDB and Push Notifications in Progressive Web AppsIndexedDB and Push Notifications in Progressive Web Apps
IndexedDB and Push Notifications in Progressive Web AppsAdégòkè Obasá
 
MOPCON 2014 - Best software architecture in app development
MOPCON 2014 - Best software architecture in app developmentMOPCON 2014 - Best software architecture in app development
MOPCON 2014 - Best software architecture in app developmentanistar sung
 
Analysis of bugs in Orchard CMS
Analysis of bugs in Orchard CMSAnalysis of bugs in Orchard CMS
Analysis of bugs in Orchard CMSPVS-Studio
 
Android activity, service, and broadcast recievers
Android activity, service, and broadcast recieversAndroid activity, service, and broadcast recievers
Android activity, service, and broadcast recieversUtkarsh Mankad
 
Windows Store app using XAML and C#: Enterprise Product Development
Windows Store app using XAML and C#: Enterprise Product Development Windows Store app using XAML and C#: Enterprise Product Development
Windows Store app using XAML and C#: Enterprise Product Development Mahmoud Hamed Mahmoud
 
PredictionIO - Scalable Machine Learning Architecture
PredictionIO - Scalable Machine Learning ArchitecturePredictionIO - Scalable Machine Learning Architecture
PredictionIO - Scalable Machine Learning Architecturepredictionio
 
Behaviour Driven Development V 0.1
Behaviour Driven Development V 0.1Behaviour Driven Development V 0.1
Behaviour Driven Development V 0.1willmation
 
Lightning Components Workshop
Lightning Components WorkshopLightning Components Workshop
Lightning Components WorkshopGordon Bockus
 
From Legacy to Hexagonal (An Unexpected Android Journey)
From Legacy to Hexagonal (An Unexpected Android Journey)From Legacy to Hexagonal (An Unexpected Android Journey)
From Legacy to Hexagonal (An Unexpected Android Journey)Jose Manuel Pereira Garcia
 
The Glass Class - Tutorial 3 - Android and GDK
The Glass Class - Tutorial 3 - Android and GDKThe Glass Class - Tutorial 3 - Android and GDK
The Glass Class - Tutorial 3 - Android and GDKGun Lee
 
I assignmnt(oops)
I assignmnt(oops)I assignmnt(oops)
I assignmnt(oops)Jay Patel
 

Similar to ARabia hossain project report.pdf (20)

Building workflow solution with Microsoft Azure and Cloud | Integration Monday
Building workflow solution with Microsoft Azure and Cloud | Integration MondayBuilding workflow solution with Microsoft Azure and Cloud | Integration Monday
Building workflow solution with Microsoft Azure and Cloud | Integration Monday
 
IndexedDB and Push Notifications in Progressive Web Apps
IndexedDB and Push Notifications in Progressive Web AppsIndexedDB and Push Notifications in Progressive Web Apps
IndexedDB and Push Notifications in Progressive Web Apps
 
Neha
NehaNeha
Neha
 
MOPCON 2014 - Best software architecture in app development
MOPCON 2014 - Best software architecture in app developmentMOPCON 2014 - Best software architecture in app development
MOPCON 2014 - Best software architecture in app development
 
Clean Architecture @ Taxibeat
Clean Architecture @ TaxibeatClean Architecture @ Taxibeat
Clean Architecture @ Taxibeat
 
Analysis of bugs in Orchard CMS
Analysis of bugs in Orchard CMSAnalysis of bugs in Orchard CMS
Analysis of bugs in Orchard CMS
 
Android activity, service, and broadcast recievers
Android activity, service, and broadcast recieversAndroid activity, service, and broadcast recievers
Android activity, service, and broadcast recievers
 
Pratk kambe rac
Pratk kambe racPratk kambe rac
Pratk kambe rac
 
Oopp Lab Work
Oopp Lab WorkOopp Lab Work
Oopp Lab Work
 
Windows Store app using XAML and C#: Enterprise Product Development
Windows Store app using XAML and C#: Enterprise Product Development Windows Store app using XAML and C#: Enterprise Product Development
Windows Store app using XAML and C#: Enterprise Product Development
 
Vb6.0 intro
Vb6.0 introVb6.0 intro
Vb6.0 intro
 
Stmik bandung
Stmik bandungStmik bandung
Stmik bandung
 
PredictionIO - Scalable Machine Learning Architecture
PredictionIO - Scalable Machine Learning ArchitecturePredictionIO - Scalable Machine Learning Architecture
PredictionIO - Scalable Machine Learning Architecture
 
Behaviour Driven Development V 0.1
Behaviour Driven Development V 0.1Behaviour Driven Development V 0.1
Behaviour Driven Development V 0.1
 
Lightning Components Workshop
Lightning Components WorkshopLightning Components Workshop
Lightning Components Workshop
 
From Legacy to Hexagonal (An Unexpected Android Journey)
From Legacy to Hexagonal (An Unexpected Android Journey)From Legacy to Hexagonal (An Unexpected Android Journey)
From Legacy to Hexagonal (An Unexpected Android Journey)
 
The Glass Class - Tutorial 3 - Android and GDK
The Glass Class - Tutorial 3 - Android and GDKThe Glass Class - Tutorial 3 - Android and GDK
The Glass Class - Tutorial 3 - Android and GDK
 
Best android classes in mumbai
Best android classes in mumbaiBest android classes in mumbai
Best android classes in mumbai
 
I assignmnt(oops)
I assignmnt(oops)I assignmnt(oops)
I assignmnt(oops)
 
Flutter-Dart project || Hotel Management System
Flutter-Dart project || Hotel Management SystemFlutter-Dart project || Hotel Management System
Flutter-Dart project || Hotel Management System
 

Recently uploaded

MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxbennyroshan06
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfVivekanand Anglo Vedic Academy
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportAvinash Rai
 
Forest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDFForest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDFVivekanand Anglo Vedic Academy
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfYibeltalNibretu
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resourcesdimpy50
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleCeline George
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxRaedMohamed3
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chipsGeoBlogs
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsCol Mukteshwar Prasad
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxShibin Azad
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasiemaillard
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxricssacare
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...Nguyen Thanh Tu Collection
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...Sayali Powar
 

Recently uploaded (20)

B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
Forest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDFForest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDF
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 

ARabia hossain project report.pdf

  • 1. Green University of Bangladesh Department of Computer Science and Engineering (CSE) Faculty of Sciences and Engineering Semester: (Spring, Year: 2022), B.Sc. in CSE (Day) LAB PROJECT REPORT Course Title: Object Oriented Programming Lab Course Code: CSE-202 Section: Dc Student Details Name ID 1. Aarabia Hossain 211002006 Submission Date : 16-05-2022 Course Teacher’s Name : Ayesha Khatun [For Teachers use only: Don’t Write Anything inside this box] Project Proposal Status Marks: ………………………………… Signature: ..................... Comments: .............................................. Date: .............................. 1. TITLE OF THE PROJECT Restaurant Management Software Restaurant Management Software is a console based application which is built using java. This application helps in management of Customer, Shop Employee, admin in an easy and comfortable way. Using this Application Customer can quickly Sign up, Login, view his/her profile, view all available Product, Order Booking Product, view choose Product , give feedback, pay online Payment and logout. Admin can add Product, view all Customer list , view Employee list, remove Product, and see feedback given by Customer. The owner of the shop can login, view profile, view Products, and logout.
  • 2. 2. PROBLEM DOMAIN & MOTIVATIONS Mainly I am interested in this project because it is very relatable to all common people. Most of the times we face many problems while buying things. this project can solve most of the problems that we face in Shop and can provide a better service. Because of the Covid-19 situation, now it is more important to build and use this type of program for better decision making. The Customer will be able to see if his productsis there before coming to the store. 3. OBJECTIVES/AIMS Design a system for better Customer Service . Reduce Shop operating costs and better service all people . Provide Management Information System report on demand to management for better decision making. Provide top management a single point of control. As a result of this service, the details of all the items and products will be nown in quick time. Better Inventory Accuracy. Reduced Risk of Overloading and Cost Savings. 4. TOOLS & TECHNOLOGIES NetBeans: NetBeans is an integrated development environment (IDE) for Java. NetBeans allows applications to be developed from a set of modular software components called modules. NetBeans runs on Windows, macOS, Linux and Solaris. In addition to Java development, it has extensions for other languages like PHP, C, C++, HTML5, and JavaScript. Applications based on NetBeans, including the NetBeans IDE, can be extended by third party developers. Code Part: try {
  • 3. for (int r = 0; r < 100; r++) { //initializing row for (int c = 0; c < 4; c++) { //initializing column jTable1.setValueAt(null, r, c); } } BufferedReader rdfile = new BufferedReader(new FileReader("items.txt")); String[] item = new String[100]; String[] temp; int x = 0; //read item while ((item[x] = rdfile.readLine()) != null) { temp = item[x].split("t"); jTable1.setValueAt((1000 + x + 1), x, 0); for (int j = 1; j < 4; j++) { jTable1.setValueAt(temp[j - 1], x, j); } Code Part 2: private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { Search a= new Search(); a.setVisible(true); a.setDefaultCloseOperation(Search.DISPOSE_ON_CLOSE); } private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) { Display_Purchase a= new Display_Purchase();
  • 4. a.setVisible(true); a.setDefaultCloseOperation(Display_Purchase.DISPOSE_ON_CLOSE); } private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) { int exit=JOptionPane.showConfirmDialog(null, "ARE YOU SURE YOU WANT TO EXIT?"); if(exit==0){ JOptionPane.showMessageDialog(null, "Thank You :)"); System.exit(0); } Output: Code Part 3: try{ if( jTextField1.getText().equals("")) JOptionPane.showMessageDialog(null, "Enter item!", "Oops Wait...!", JOptionPane.ERROR_MESSAGE); else{ for( int r=0; r<100; r++) //initializing row for( int c=0; c<4; c++) //initializing column jTable1.setValueAt("", r, c); BufferedReader rdfile= new BufferedReader( new FileReader("items.txt"));
  • 5. String[] line= new String[100]; String search="", output="", target=""; boolean same= false, found=false; int x=0, row=0; while( (line[x]= rdfile.readLine()) != null)//reading items.txt; asigning to array[] line x++; rdfile.close(); search= jTextField1.getText(); for( int k=0; line[k] != null; k++){ same= false; target=""; for( int j=0; j < search.length(); j++) target+= line[k].charAt(j); if( search.equals(target)) same=true; if( same){ String[] temp= line[k].split("t"); jTable1.setValueAt((1000+k+1), row, 0); for( int i=1; i<4; i++) jTable1.setValueAt(temp[i-1], row,i); row++; found=true; } } if( !found) JOptionPane.showMessageDialog(null, "Item(s) not found!", "Ooops!", JOptionPane.ERROR_MESSAGE); jTextField1.setText(""); } }catch(IOException e){}
  • 6. 5. CONCLUSION With the help of this software management the customer finds his desired product in a very quick time. Employee can find the products in qucik time . The company has a little draft list of products. Avoiding Stockouts and Excess Stock and More productivity. This Software can Better Customer Experience . It can Increased Employee Efficiency. This software when we use no more manual work and data security.