AJP Microproject
AJP Microproject
FIFTH SEMESTER
(Year: 2024-25)
Micro Project
Advance Java programming
Submitted By:
MICRO PROJECT
Progress Report / Weekly Report
Sign of
Week Duration
Date Work / Activity Performed the
No in Hrs.
Faculty
1
10
11
12
13
14
15
Teacher Evaluation Sheet for Micro Project
CO b: -
CO d: -
CO e: Use Data access control to store data in Database and retrieve it.
CO f: -
Marks:-
Marks obtained
Marks for by the Total
Roll No. Name Of Student Group Work individual Marks
(06) based on viva (10)
(04)
3154 Dange MohammadAbbas Imtiyaz
Signature: _______________________
Loknete Ma. Hanmantrao Patil Charitable Trust’s
Adarsh Institute of Technology & Research Centre Vita,
CERTIFICATE
This is to certify that the micro project report entitled
For Fifth Semester of Diploma in Computer Technology of course Advance Java programming
for academic year 2024-25 as per MSBTE, Mumbai curriculum of ‘I’ scheme.
DIPLOMA OF ENGINEERING
(Computer Technology)
SUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION MUMBAI
ACADEMIC YEAR 2024-25
I would like to express my gratitude to all my colleagues for their support, co-operation and
fruitful discussions on diverse seminar topics and technical help.
1.0 Rationale
A grocery list manager is a software application designed to help users efficiently manage their grocery
items. It allows users to add, remove, and categorize items, and often includes features like interactive
elements for sorting and filtering. In this guide, we'll explore how to create a grocery list manager using
Java, focusing on the key components and steps required to build a functional and user-friendly
applicationA digital clock is a software component designed to display the current time in a numeric
format, often using either a 24-hour or 12-hour clock format. In this guide, we'll explore how to create a
digital clock using Java, focusing on the essential elements and steps required to implement a
A Quiz
functional and visually appealing clock.
The goal of the Micro-Project "Grocery List Manager" is to design and implement a practical and interactive
grocery list management system using Java. This project aims to:
1. Provide a user-friendly interface for adding, removing, and managing grocery items.
2. Incorporate interactive elements such as dropdown lists, checkboxes, and radio buttons to enhance
user experience and functionality.
3. Offer real-time updates and efficient management of grocery lists with a clear and accessible
graphical user interface (GUI).
Source:
1.Google
2.AI
Review:
The Grocery List Manager project is a practical application designed to showcase a range of skills
in software development. The project's objectives are well-defined, focusing on creating a
functional and interactive tool for managing grocery items. The intended course outcomes cover
both technical and user interface design skills, providing a comprehensive learning experience in
building and optimizing a software application.
Proposed Methodology
5) Analysis of data.
Sr.
Name of Resource/ Material Specifications Quantity Remark
No.
3 Internet Any 1
Planned Name of
Sr. Planned
Details of activity Finish Responsible Team
No. start date
date Members
1 Project Proposal
2 Data Collection & Analysis
4 Preparation of Report
1.0 Rationale:
1. Problem-solving: Designing and implementing a grocery list manager involves breaking down
the problem into manageable components, such as item addition, removal, and categorization,
and integrating these elements into a functional application.
2. Programming fundamentals: The project reinforces core Java concepts, including variables, data
types, operators, control structures, and object-oriented programming principles.
3. GUI programming: Students will create an intuitive graphical user interface, learning to manage
layout, incorporate interactive elements like dropdowns and checkboxes, and display dynamic
content effectively.
4. Data management: The project introduces handling and processing of user data, focusing on
efficient management and updating of grocery lists.
1. Design and implement user interfaces and user experiences: Create an intuitive and interactive
graphical user interface for managing grocery lists, ensuring a smooth and user-friendly
experience.
2. Develop data management functionality: Implement features to handle and process user data
efficiently, such as adding, removing, and categorizing grocery items.
3. Test, debug, and refine the application: Conduct thorough testing and debugging to ensure the
application runs smoothly, and make necessary adjustments to enhance its performance and
reliability.
Source:
1.Google
2.AI
Review:
The Grocery List Manager project is a practical application designed to showcase a range of skills
in software development. The project's objectives are well-defined, focusing on creating a
functional and interactive tool for managing grocery items. The intended course outcomes cover
both technical and user interface design skills, providing a comprehensive learning experience in
building and optimizing a software application.
Work: Collect information and discuss with group members about proposal.
Sr.
Name of Resource/ Material Specifications Quantity Remark
No.
3 Internet Any 1
6.0 Source Code:
import
java.awt.event.ActionEvent;
import
java.awt.event.ActionListener
;
import
javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import
javax.swing.JOptionPane;
import
javax.swing.JRadioButton;
class OnlineTest extends
JFrame implements
ActionListener {
private static final long
serialVersionUID = 1L;
JLabel label;
JRadioButton radioButton[] =
new JRadioButton[5];
JButton btnNext,
btnBookmark;
import
java.awt.event.ActionEvent;
import
java.awt.event.ActionListener
;
import
javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import
javax.swing.JOptionPane;
import
javax.swing.JRadioButton;
class OnlineTest extends
JFrame implements
ActionListener {
private static final long
serialVersionUID = 1L;
JLabel label;
JRadioButton radioButton[] =
new JRadioButton[5];
JButton btnNext,
btnBookmark;
import
java.awt.event.ActionEvent;
import
java.awt.event.ActionListener
;
import
javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import
javax.swing.JOptionPane;
import
javax.swing.JRadioButton;
class OnlineTest extends
JFrame implements
ActionListener {
private static final long
serialVersionUID = 1L;
JLabel label;
JRadioButton radioButton[] =
new JRadioButton[5];
JButton btnNext,
btnBookmark;
import
java.awt.event.ActionEvent;
import
java.awt.event.ActionListener
;
import
javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import
javax.swing.JOptionPane;
import
javax.swing.JRadioButton;
class OnlineTest extends
JFrame implements
ActionListener {
private static final long
serialVersionUID = 1L;
JLabel label;
JRadioButton radioButton[] =
new JRadioButton[5];
JButton btnNext,
btnBookmark;
import
java.awt.event.ActionEvent;
import
java.awt.event.ActionListener
;
import
javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import
javax.swing.JOptionPane;
import
javax.swing.JRadioButton;
class OnlineTest extends
JFrame implements
ActionListener {
private static final long
serialVersionUID = 1L;
JLabel label;
JRadioButton radioButton[] =
new JRadioButton[5];
JButton btnNext,
btnBookmark;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public GroceryListManagerSwing() {
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(600, 400);
frame.setLayout(new BorderLayout());
// Create components
// Dropdown List
String[] categories = {"Fruits", "Vegetables", "Dairy", "Bakery", "Others"};
// Checkboxes
// Radio Buttons
priorityGroup.add(highPriorityRadioButton);
priorityGroup.add(mediumPriorityRadioButton);
priorityGroup.add(lowPriorityRadioButton);
inputPanel.setLayout(new GridBagLayout());
gbc.gridy = 0;
gbc.gridx = 1;
gbc.gridy = 0;
inputPanel.add(itemField, gbc);
gbc.gridx = 2;
gbc.gridy = 0;
inputPanel.add(addButton, gbc);
gbc.gridx = 3;
gbc.gridy = 0;
inputPanel.add(removeButton, gbc);
gbc.gridx = 4;
gbc.gridy = 0;
inputPanel.add(clearButton, gbc);
gbc.gridx = 0;
gbc.gridy = 1;
gbc.gridwidth = 5;
inputPanel.add(categoryComboBox, gbc);
gbc.gridy = 2;
inputPanel.add(purchasedCheckBox, gbc);
gbc.gridy = 3;
inputPanel.add(highPriorityRadioButton, gbc);
inputPanel.add(mediumPriorityRadioButton, gbc);
inputPanel.add(lowPriorityRadioButton, gbc);
frame.add(inputPanel, BorderLayout.NORTH);
frame.add(listScrollPane, BorderLayout.CENTER);
addButton.addActionListener(new ActionListener() {
@Override
mediumPriorityRadioButton.isSelected() ? "Medium" :
"Low";
if (!item.isEmpty()) {
String listItem = item + " - " + category + " - Purchased: " + isPurchased + " - Priority: "
+ priority;
listModel.addElement(listItem);
itemField.setText("");
purchasedCheckBox.setSelected(false);
priorityGroup.clearSelection();
});
removeButton.addActionListener(new ActionListener() {
@Override
if (selectedIndex != -1) {
listModel.remove(selectedIndex);
});
clearButton.addActionListener(new ActionListener() {
@Override
});
frame.setVisible(true);
SwingUtilities.invokeLater(GroceryListManagerSwing::new);
Output :
*********