A
Micro Project Report
On
“ID Card Generator System”
Submitted by
1. Saloni Nivrutti Patil
2. Tanishka Kiran Chopadkar
3. Devang Jittendra Bhattad
4. Divya Dattatray Rahane
Under the Guidance of
[Link]
In the Partial Fulfilment of Fifth Semester of Diploma in
Computer Engineering
Department of Computer Engineering
Sandip Polytechnic
Mahiravani, Nashik - 422213
Affiliated to
Maharashtra State
Board of Technical Education
Academic Year 2023-24
Maharashtra State
Board of Technical Education
Certificate
This is to certify that Ms. Saloni Nivrutti Patil with Roll No-05 has successfully completed Micro-project in course
Advanced Java Programming(22517) for the academic year 2023-24 as prescribed in the 'Assessment Manual'
during his/her tenure of completing fifth Semester of Diploma Program in Computer Engineering from institute,
Sandip Polytechnic with institute code 1167.
Place : Nashik Enrollment No: 2111670129
Date: Exam Seat No:
Course Teacher Head of the Department Head of the Institute
Maharashtra State
Board of Technical Education
Certificate
This is to certify that Ms. Tanishka Kiran Chopadkar with Roll No-12 has successfully completed Micro-project
in course Advanced Java Programming(22517) for the academic year 2023-24 as prescribed in the 'Assessment
Manual' during his/her tenure of completing fifth Semester of Diploma Program in Computer Engineering from
institute, Sandip Polytechnic with institute code 1167.
Place : Nashik Enrollment No: 2111670139
Date: Exam Seat No:
Course Teacher Head of the Department Head of the Institute
Maharashtra State
Board of Technical Education
Certificate
This is to certify that Mr. Devang Jittendra Bhattad with Roll No-41 has successfully completed Micro-project in
course Advanced Java Programming(22517) for the academic year 2023-24 as prescribed in the 'Assessment
Manual' during his/her tenure of completing fifth Semester of Diploma Program in Computer Engineering from
institute, Sandip Polytechnic with institute code 1167.
Place : Nashik Enrollment No: 2111670183
Date: Exam Seat No:
Course Teacher Head of the Department Head of the Institute
Maharashtra State
Board of Technical Education
Certificate
This is to certify that Ms. Divya Dattatray Rahane with Roll No-47 has successfully completed Micro-project in
course Advanced Java Programming(22517) for the academic year 2023-24 as prescribed in the 'Assessment
Manual' during his/her tenure of completing fifth Semester of Diploma Program in Computer Engineering from
institute, Sandip Polytechnic with institute code 1167.
Place : Nashik Enrollment No: 2111670191
Date: Exam Seat No:
Course Teacher Head of the Department Head of the Institute
Annexure – I
Micro Project Proposal
“ID Card Generator System”
1.0 Aims/Benefits of the Micro-Project:
To learn/understand the concepts of the Advanced Java programming and apply at the places
required. The main aim of this micro project is to understand the Advanced Java code logic
designed for performing ID Card Generator system.
2.0 Course Outcomes Addressed:
1. Develop programs using GUI Framework (AWT and Swing).
2. Handel events of AWT and Swing components.
3. Develop a Java program using networking concepts.
4. Develop a Java program using Servlets.
3.0 Proposed Methodology:
After choosing the topic for our micro-project ,we decided to collect some information related to
our project topic and do some research on it. Based on that information we would be developing
some logic for carrying out different various functions related to ID Card Generator system.
4.0 Action Plan:
Sr. Planned Planned Name of Responsible Team
Details of Activity
No Start Date Finish Date Members
1 Topic Discussion & Selection
2 Aim/Benefits & Importance
3 Resources Required
4 Analysis of Collected Data 1. Saloni Nivrutti Patil
2. Tanishka Kiran Chopadkar
5 Design & Editing of data 3. Devang Jittendra Bhattad
4. Divya Dattatray Rahane
6 Compilation of Report
7 Compilation of Presentation
8 Presentation of Seminar
9 Final Submission
5.0 Resources Required:
SrNo Name of Resource/Material Specification Qty. Remarks
1 Hardware Resource Intel i3,2GB RAM 1 -
2 Software Resource Turbo C/C++ 1 -
3 Any Other Resource Internet 1 -
Name of Team Members with Roll No:
Roll No Name of Team Members
5 Patil Saloni Nivrutti
12 Chopadkar Tanishka Kiran
41 Bhattad Devang Jittendra
47 Rahane Divya Dattatray
Name & Signature of Course Teacher
([Link])
Annexure – II
Micro Project Report
1.0 Rational :
The basic application for Generating ID card i.e. in that user can generate his/her ID card.
This application simply generates the ID card of any person by taking some from user.
2.0 Aims/Benefits of the Micro-Project:
To learn/understand the concepts of the Advanced Java programming i.e. the concepts of GUI,
Swings, Interfaces and Components etc., The main aim of this micro project is to understand the
Advanced Java code logic designed for performing ID Card Generator system.
3.0 Course Outcomes Achieved:
1. Develop programs using GUI Framework (AWT and Swing).
2. Handel events of AWT and Swing components.
3. Develop a Java program using networking concepts.
4. Develop a Java program using Servlets.
4.0 Literature Review:
After choosing the topic for our micro-project ,we decided to collect some information related to
our project topic and do some research on it. Based on that information we would be developing
some logic for carrying out different various functions related to ID Card Generator system.
5.0 Actual Methodology Followed :
After the topic for our project was selected, we segregated the work load as follows
1. Researching and collecting the required information was done by our team members
Tanishka , Divya , Devang and Saloni.
2. Arrangement of this work in appropriate manner and cross checking of the was done by Devang
and Tanishka.
3. Compiling this work and formatting of the report was done by our team members Divya and
Saloni.
6.0Actual Resources Used:
Sr
Name of Resource/Material Specification Qty. Remarks
No
1 Hardware Resource Intel i3,2GB RAM 1 -
2 Software Resource JDK 1.6 1 -
3 Any Other Resource Internet 1 -
7.0 CODE AND OUTPUT:
Program Code:
import [Link].*;
import [Link].*;
import [Link].*;
import [Link];
import [Link];
import [Link];
import [Link];
public class IDCardGenerator extends JFrame implements ActionListener {
private JTextField idField, nameField, classField, addressField, phoneField;
private JLabel idLabel, nameLabel, classLabel, addressLabel, phoneLabel;
private JButton generateButton, insertPhotoButton;
private BufferedImage photo;
private String collegeName = ""; // Initialize college name as empty
public IDCardGenerator() {
setTitle("ID Card Generator");
setSize(400, 500);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setLayout(new BorderLayout());
JPanel inputPanel = new JPanel();
[Link](new GridLayout(6, 2));
idLabel = new JLabel("ID:");
idField = new JTextField(20);
nameLabel = new JLabel("Name:");
nameField = new JTextField(20);
classLabel = new JLabel("Class:");
classField = new JTextField(20);
addressLabel = new JLabel("Address:");
addressField = new JTextField(20);
phoneLabel = new JLabel("Phone:");
phoneField = new JTextField(20);
[Link](idLabel);
[Link](idField);
[Link](nameLabel);
[Link](nameField);
[Link](classLabel);
[Link](classField);
[Link](addressLabel);
[Link](addressField);
[Link](phoneLabel);
[Link](phoneField);
insertPhotoButton = new JButton("Insert Photo");
[Link](this);
[Link](insertPhotoButton);
generateButton = new JButton("Generate ID Card");
[Link](this);
[Link](new Dimension(150, 30)); // Set the button size
JPanel buttonPanel = new JPanel();
[Link](generateButton);
add(inputPanel, [Link]);
add(buttonPanel, [Link]);
setVisible(true);
}
public void actionPerformed(ActionEvent e) {
if ([Link]() == insertPhotoButton) {
JFileChooser fileChooser = new JFileChooser();
int returnValue = [Link](null);
if (returnValue == JFileChooser.APPROVE_OPTION) {
try {
File file = [Link]();
photo = [Link](file);
} catch (IOException ex) {
[Link]();
}
}
} else if ([Link]() == generateButton) {
String id = [Link]();
String name = [Link]();
String className = [Link]();
String address = [Link]();
String phone = [Link]();
// Store the college name, or you can set it directly in the code
collegeName = "College Name";
// Create and display the ID card
generateIDCard(id, name, className, address, phone);
}
}
private void generateIDCard(String id, String name, String className, String address, String
phone) {
JFrame idCardFrame = new JFrame("ID Card");
[Link](300, 400);
[Link](JFrame.DISPOSE_ON_CLOSE);
JPanel idCardPanel = new JPanel();
[Link](new BoxLayout(idCardPanel, BoxLayout.Y_AXIS)); // Center-align
content
JLabel collegeNameLabel = new JLabel("Sandip Foundation");
[Link](new Font("SansSerif", [Link], 18));
[Link](Component.CENTER_ALIGNMENT); // Center-align
college name
[Link](collegeNameLabel);
// Display the photo on the ID card at the top with a specific size
if (photo != null) {
BufferedImage scaledPhoto = new BufferedImage(120, 150,
BufferedImage.TYPE_INT_ARGB);
Graphics2D g = [Link]();
[Link](photo, 0, 0, 120, 150, null);
[Link]();
JLabel photoOnID = new JLabel(new ImageIcon(scaledPhoto));
[Link](Component.CENTER_ALIGNMENT); // Center-align the
image
[Link](photoOnID);
}
JLabel idLabel = new JLabel("ID: " + id);
JLabel nameLabel = new JLabel("Name: " + name);
JLabel classLabel = new JLabel("Class: " + className);
JLabel addressLabel = new JLabel("Address: " + address);
JLabel phoneLabel = new JLabel("Phone: " + phone);
// Center-align text
[Link](Component.CENTER_ALIGNMENT);
[Link](Component.CENTER_ALIGNMENT);
[Link](Component.CENTER_ALIGNMENT);
[Link](Component.CENTER_ALIGNMENT);
[Link](Component.CENTER_ALIGNMENT);
[Link](idLabel);
[Link](nameLabel);
[Link](classLabel);
[Link](addressLabel);
[Link](phoneLabel);
[Link](idCardPanel);
[Link](true);
}
public static void main(String[] args) {
[Link](() -> new IDCardGenerator());
}
}
Output of The Above Program:
6.0 Skill Developed:
Develop advanced java program using GUI and Swings.
Understand components in advanced java programming.
Develop program using applet and servlet.
Develop program for handling EventListeners.
Develop program using Database.
Develop java program using networking concepts.
Name & Signature of Course Teacher
([Link])
Concepts that we used in Advanced Java :
Components:
All the elements like the button, text fields, scroll bars, etc. are called components. In Java AWT, there are classes
for each component as shown in above diagram. In order to place every component in a particular position on a
screen, we need to add them to a container.
Container:
The Container is a component in AWT that can contain another components like buttons, textfields, labels etc. The
classes that extends Container class are known as container such as Frame
Java AWT Label:
The object of the Label class is a component for placing text in a container. It is used to
display a single line of read only text. The text can be changed by a programmer but a user
cannot edit it directly.
Java AWT Button:
A button is basically a control component with a label that generates an event when pushed.
The Button class is used to create a labeled button that has platform independent
implementation. The application result in some action when the button is pushed.
Java JLabel:
The object of JLabel class is a component for placing text in a container. It is used to
display a single line of read only text. The text can be changed by an application but a user
cannot edit it directly. It inherits JComponent class.
Java JButton:
The JButton class is used to create a labeled button that has platform independent
implementation. The application result in some action when the button is pushed. It inherits
AbstractButton class.
Java JPanel:
The JPanel is a simplest container class. It provides space in which an application can attach
any other component. It inherits the JComponents class.
Java JTextField:
The object of a JTextField class is a text component that allows the editing of a single line
text. It inherits JTextComponent class.
Annexure – III
Micro Project Evaluation Sheet
Name of Student: Saloni Nivrutti Patil Enrollment No: 2111670129
Name of Program: Computer Engineering Semester: fifth
Course Title: Advanced Java Programing Course Code: 22517
Title of Micro Project: ID card Generator System
Course Outcomes Achieved:
[Link] programs using GUI Framework (AWT and Swing).
[Link] events of AWT and Swing components.
[Link] a Java program using networking concepts.
[Link] a Java program using Servlets.
Poor Average Good Excellent
Sr Sub
Characteristic to be Assessed Marks Marks Marks Marks
No Total
(1-3) (4-5) (6-8) (9-10)
(A) Process and Product Assessment (6 Marks)
1 Relevance to the Course
2 Literature Review/Information Collection
3 Completion of the Targets per Project Proposal
4 Analysis of Data & Representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva (4Marks)
7 Presentation
8 Viva
(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)
Comments/Suggestions about Teamwork/Leadership/Inter-personal Communication (if any)
…………………………………..……………………………………………………………………………
Name &Designation of Course Teacher
([Link])
Annexure – III
Micro Project Evaluation Sheet
Name of Student: Tanishka Kiran Chopadkar Enrollment No: 2111670139
Name of Program: Computer Engineering Semester: fifth
Course Title: Advanced Java Programing Course Code: 22517
Title of Micro Project: ID card Generator System
Course Outcomes Achieved:
[Link] programs using GUI Framework (AWT and Swing).
[Link] events of AWT and Swing components.
[Link] a Java program using networking concepts.
[Link] a Java program using Servlets.
Poor Average Good Excellent
Sr Sub
Characteristic to be Assessed Marks Marks Marks Marks
No Total
(1-3) (4-5) (6-8) (9-10)
(A) Process and Product Assessment (6 Marks)
1 Relevance to the Course
2 Literature Review/Information Collection
3 Completion of the Targets per Project Proposal
4 Analysis of Data & Representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva (4Marks)
7 Presentation
8 Viva
(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)
Comments/Suggestions about Teamwork/Leadership/Inter-personal Communication (if any)
…………………………………..……………………………………………………………………………
Name &Designation of Course Teacher
([Link])
Annexure – III
Micro Project Evaluation Sheet
Name of Student: Devang Jittendra Bhattad Enrollment No: 2111670183
Name of Program: Computer Engineering Semester: fifth
Course Title: Advanced Java Programing Course Code: 22517
Title of Micro Project: ID card Generator System
Course Outcomes Achieved:
[Link] programs using GUI Framework (AWT and Swing).
[Link] events of AWT and Swing components.
[Link] a Java program using networking concepts.
[Link] a Java program using Servlets.
Poor Average Good Excellent
Sr Sub
Characteristic to be Assessed Marks Marks Marks Marks
No Total
(1-3) (4-5) (6-8) (9-10)
(A) Process and Product Assessment (6 Marks)
1 Relevance to the Course
2 Literature Review/Information Collection
3 Completion of the Targets per Project Proposal
4 Analysis of Data & Representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva (4Marks)
7 Presentation
8 Viva
(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)
Comments/Suggestions about Teamwork/Leadership/Inter-personal Communication (if any)
…………………………………..……………………………………………………………………………
Name &Designation of Course Teacher
([Link])
Annexure – III
Micro Project Evaluation Sheet
Name of Student: Divya Dattatray Rahane Enrollment No: 2111670191
Name of Program: Computer Engineering Semester: fifth
Course Title: Advanced Java Programing Course Code: 22517
Title of Micro Project: ID card Generator System
Course Outcomes Achieved:
[Link] programs using GUI Framework (AWT and Swing).
[Link] events of AWT and Swing components.
[Link] a Java program using networking concepts.
[Link] a Java program using Servlets.
Poor Average Good Excellent
Sr Sub
Characteristic to be Assessed Marks Marks Marks Marks
No Total
(1-3) (4-5) (6-8) (9-10)
(A) Process and Product Assessment (6 Marks)
1 Relevance to the Course
2 Literature Review/Information Collection
3 Completion of the Targets per Project Proposal
4 Analysis of Data & Representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva (4Marks)
7 Presentation
8 Viva
(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)
Comments/Suggestions about Teamwork/Leadership/Inter-personal Communication (if any)
…………………………………..……………………………………………………………………………
Name &Designation of Course Teacher
([Link])