“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
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"));
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.