To-Do List Application
To-Do List Application
To-Do List Application
FINAL REVIEW
SLOT: A1
COURSE CODE: SWE2007
FACULTY: SENTHIL KUMAR P
SUBMITTED BY:
RAMYA SREE B -20MIS0065
THIMMAREDDY SIRISHA REDDY -20MIS0168
SUJANA KOLA -20MIS0171
BADIGI SHIVA KUMAR -20MIS0173
REVIEW 1
ABSTRACT:
A to-do list is a list of tasks that need to be completed, typically
organized in order of priority. It is one of the simplest solutions for
task management and provides a minimal and elegant way for
managing tasks a person wishes to accomplish.
Our aim is to design a simple and elegant website for people to keep a
track of the status of their tasks. Making a to-do list is an easy and
important task that everyone should do. The immense satisfaction that
one gets when completing the task and marking it on the list are
incomparable. Moreover, creating a list of tasks ensure you don’t
miss out on anything. It’s a scientific fact that when you write the task
ensure you don’t miss out on anything. It’s a scientific fact that when you
write the tasks that you need to complete, you are even more motivated
to complete it. With this in mind, we come to build
a platform which will help people create their own task list with the help
of modern tools and technologies, we strive to build a minimal and
efficient to-do list which minimizes distractions and helps people achieve
task management with ease and without hassle.
People are finding it harder and harder to remember and manage daily
tasks in this fast-paced world. By creating a to-do list app, users can
create and manage their daily tasks more easily.
▪ Capture the person’s daily tasks.
▪ Plan and execute simple actions.
▪ Prioritize, manage, and reason about tasks.
▪ Record notes, action items and ideas.
INTRODUCTION :
• You can add the tasks that are to be done in a descriptive way.
• You will be able to add as many tasks as you have.
• Once the task is completed, user will be able to mark the
completed tasks and can remove it by clicking on “clear
Completed tasks” button.
MODULES:
❖ Adding new task.
❖ Editing new task.
❖ Deleting new task.
❖ Check In completed task.
❖ Today List.
❖ Adding Future Tasks.
USE CASE DIAGRAM:
CLASS DIAGRAM:
SEQUENCE DIAGRAM:
LITERATURE SURVEY:
1) Link: Free Essay: Literature Survey - 1873 Words | Studymode
Author: Rosa L. Coley
Content: In their study, Grant, Richardson, and Forsten
(2000) stated that a 1913 memo from the U.S. Department of
interior touted that looping as one as one of the most
important issues facing urban schools: “Shall teachers in
graded schools be advanced from grade to grade with their
pupils through a series of two, three, four or more years so
that they may come to know the children they teach and be
able to build the work of the latter years on that of the earlier
years, or shall teachers be required to remain year after year in
the same grade while the children, promoted from grade to
grade, are taught by a different teacher every year? Because
many elementary school teachers spend most of their careers
assigned to one grade level, they tend to be thought of as
specialists in that grade level rather than as specialist of
teaching children.” (Grant, Richardson, & Forsten, 2000, In the
Loop).
4)Link:
http://shodh.inflibnet.ac.in:8080/jspui/bitstream/123456789/
2760/3/03_%20literature%20review.pdf
PROFILING:
Profiling is the process of examining an application to locate memory
or performance-related issues.
MINIMIZE COMPLEXITY:
Complexity reduction helps to simplify your strategy, organization,
products, processes and information technology. Reducing complexity
aims at removing unnecessarily complex processes which hinder
change, speed,growth or increase cost.
0.00
S0’0 -' 2 1.3d 1'.00-
2 1:00 0.00*
classes\TbOo.List.java 8‘ 5 0.0 {’ 0.60 1’.OO’
25
.6
A.33
A-.33
0.00
5.0’0
ñassesTileBarlava )6’ 13 0.0
S:0
FIGMA (DETAILED DESIGN) :-
Login :-
Dashboard/Tasks :- One can view his/her added tasks
9:41
Scam DA
9:00
Design Patterns DA
10:00
Spm review
9:00
OOAD LAB
10:00
Profile
Reloading the task from the deleted module
Notifications :-
Creating profile :-
CODE:
APP FRAME:
/*
* Click
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-
default.txt to change this license
* Click
nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to
edit this template
*/
package todolist;
/**
*
* @author ramya
*/
import java.awt.BorderLayout;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JButton;
import javax.swing.JFrame;
public class AppFrame extends JFrame{
private TitleBar title;
private Footer footer;
private List list;
private JButton newTask;
private JButton clear;
AppFrame()
{
this.setSize(400,700);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setVisible(true);
this.add(title,BorderLayout.NORTH);
this.add(footer,BorderLayout.SOUTH);
this.add(list,BorderLayout.CENTER);
newTask = footer.getNewTask();
clear = footer.getClear();
addListeners();
}
public void addListeners()
{
newTask.addMouseListener(new MouseAdapter()
{
//@override
public void mousePressed(MouseEvent e)
{
Task task = new Task();
list.add(task);
list.updateNumbers();
task.getDone().addMouseListen
er(newMouseAdapter()
{
//@override
public void mousePressed(MouseEvent e)
{
task.changeState();
list.updateNumbers();
revalidate();
}
});
}
});
clear.addMouseListener(new MouseAdapter()
{
//@override
public void mousePressed(MouseEvent e)
{
list.removeCompletedTasks();
repaint();
}
});
}
//}
//this.add(title,BorderLayout.NORTH);
//EXCEPTION FOUND
// private void add(TitleBar title, String NORTH) {
// throw new UnsupportedOperationException("Not supported
yet."); // Generated from
nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/Generate
dMethodBody
*/
package todolist;
/**
*
* @author ramya
*/
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.border.Border;
public class Footer extends JPanel{
JButton addTask;
JButton clear;
this.add(Box.createHorizontalStrut(20));//Space between
buttons
clear = new JButton("Clear finished tasks");
clear.setFont(new Font("Sans-serif",Font.PLAIN, 20));
clear.setBorder(emptyBorder);
//clear.setBackground();
this.add(clear);
}
LIST:
/*
* Click
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-
default.txt to change this license
* Click
nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to
edit this template
*/
package todolist;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.GridLayout;
import javax.swing.JPanel;
/**
*
* @author ramya
*/public class List extends JPanel{ List()
{
this.setLayout(layout);
this.setPreferredSize(new Dimension(400,560));
for(int i = 0;i<listItems.length;i++)
{
}
public void removeCompletedTasks()
{
for(Component c : getComponents())
{
if(c instanceof Task)
{
if(((Task)c).getState())
{
remove(c);
updateNumbers();
}
}
}
TASK:
/*
* Click
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-
default.txt to change this license
* Click
nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to
edit this template
*/
package todolist;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
/**
*
* @author ramya
*/
public class Task extends JPanel{
JLabel index;
JTextField taskName;
JButton done;
private boolean checked;
Task()
{
this.setPreferredSize(new Dimension(400,20));
this.setBackground(Color.red);
this.setLayout(new BorderLayout());
checked = false;
index = new JLabel("");
index.setPreferredSize(new Dimension(20,20));
index.setHorizontalAlignment(JLabel.CENTER);
this.add(index,BorderLayout.WEST);
taskName = new JTextField("Enter Task");
taskName.setBorder(BorderFactory.createEmptyBorder());
taskName.setBackground(Color.red);
this.add(taskName,BorderLayout.CENTER);
done = new JButton("Done");
done.setPreferredSize(new Dimension(40,20));
done.setBorder(BorderFactory.createEmptyBorder());
done.setFocusPainted(false);
this.add(done,BorderLayout.EAST);
}
public void changeIndex(int num)
{
this.index.setText(num+"");
this.revalidate();
}
public JButton getDone()
{
return done;
}
public boolean getState()
{
return checked;
}
public void changeState()
{
this.setBackground(Color.green);
taskName.setBackground(Color.green);
checked = true;
revalidate();
}
}
/*class TaskAlreadyFoundException extends Exception{
public TaskAlreadyFoundException(){
super("there is already an existing task");
}
}
public static Task[] takeInput()throws Exception{
Task[] taskName=new taskName[1000];
for(int i=0;i<1000;i++)
{
System.out.println("Enter task name")
if(taskName==new taskName)
{
throw new TaskAlreadyFoundException();
}
}
}
public static void main(String[] args){
try{
if taskName==takeInput();
catch(Exception e)
System.out.println("Error Found");
e.printStackTrace();
}
}
*/
TASKBAR:
/*
* Click
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-
default.txt to change this license
* Click
nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to
edit this template
*/
package todolist;
/**
*
* @author ramya
*/
import java.awt.Dimension;
import java.awt.Font;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class TitleBar extends JPanel{
TitleBar()
{
this.setPreferredSize(new Dimension(400,80));
JLabel titleText = new JLabel("To Do List");
titleText.setPreferredSize(new Dimension(200,60));
titleText.setFont(new Font("Sans-serif",Font.BOLD, 20));
titleText.setHorizontalAlignment(JLabel.CENTER);
this.add(titleText);
}
}
//EXCEPTION
// private void setPreferredSize(Dimensions dimensions)
//{
// throw new UnsupportedOperationException("Not supported
yet.");
//}
TODO LIST:
/*
* Click
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-
default.txt to change this license
* Click
nbfs://nbhost/SystemFileSystem/Templates/Classes/Main.java to
edit this template
*/
package todolist;
/**
*
* @author ramya
*/
import javax.swing.JFrame;
public class ToDoList {
public static void main(String args[])
{
AppFrame frame = new AppFrame()
}
}
OUTPUT :-
To Do List To Do List
Add Task Clear finished tasks Add Task Clear finished task
CONCLUSION:
Succeeding in today’s work environment is tough. There are too
many projects and tasks to manage. With new things popping up
and your personal commitments, things can get overwhelming.
Add the huge amount of distractions and you’re in for a difficult
climb up the ladder of success.
Having a to-do list can make things much easier. Whether you’re
looking to achieve more of your goals or controlling your time
better, a to-do list will help you. You can get a positive boost to
your career by becoming the person who is always on top of things
and feel good every day.
REFERENCES:
• todo-list-app
• To Do List: Its Benefits and Assets for Business | Hygger.io
• Case study: A Simple Todo App. I was recently fortunate to be able to… | by ann chichi |
Medium