From a0f3dbc6167231fa653ebb86084349016258e4f3 Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:07:11 +0530 Subject: [PATCH 01/14] Create .keep --- 53-TechTitans/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 53-TechTitans/.keep diff --git a/53-TechTitans/.keep b/53-TechTitans/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/53-TechTitans/.keep @@ -0,0 +1 @@ + From 64cbfff0d3e9cf535f60f097034a43066c2e3cfd Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:25:37 +0530 Subject: [PATCH 02/14] Create .keep --- 53-TechTitans/bin/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 53-TechTitans/bin/.keep diff --git a/53-TechTitans/bin/.keep b/53-TechTitans/bin/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/53-TechTitans/bin/.keep @@ -0,0 +1 @@ + From 3393fa4787af0fd9abae8ad624a06dcfbdd252da Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:26:34 +0530 Subject: [PATCH 03/14] Add files via upload --- 53-TechTitans/bin/Task.class | Bin 0 -> 1452 bytes 53-TechTitans/bin/TaskComparator.class | Bin 0 -> 731 bytes 53-TechTitans/bin/TaskManagerGUI$1.class | Bin 0 -> 664 bytes 53-TechTitans/bin/TaskManagerGUI$2.class | Bin 0 -> 666 bytes 53-TechTitans/bin/TaskManagerGUI$3.class | Bin 0 -> 667 bytes 53-TechTitans/bin/TaskManagerGUI$4.class | Bin 0 -> 510 bytes 53-TechTitans/bin/TaskManagerGUI.class | Bin 0 -> 5106 bytes 7 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 53-TechTitans/bin/Task.class create mode 100644 53-TechTitans/bin/TaskComparator.class create mode 100644 53-TechTitans/bin/TaskManagerGUI$1.class create mode 100644 53-TechTitans/bin/TaskManagerGUI$2.class create mode 100644 53-TechTitans/bin/TaskManagerGUI$3.class create mode 100644 53-TechTitans/bin/TaskManagerGUI$4.class create mode 100644 53-TechTitans/bin/TaskManagerGUI.class diff --git a/53-TechTitans/bin/Task.class b/53-TechTitans/bin/Task.class new file mode 100644 index 0000000000000000000000000000000000000000..248194d8b152648679a0fb0a0b6de2f28811f02b GIT binary patch literal 1452 zcmaJ=TTc@~6#k|cwv-iWDIi|3DqveK^^Q`5i6tne$O9E0d>Y!ZEM0b+-6;vbz+2*j z55~klp@~GpgFnC@WjwQ6>_S%`X6MY=^L^)hXU_ckefSf=5=t5(46!PAn;K#asU5z@ zizc@k#r3TnQIiaDX-HErq$}Nj8`3eXMu}mdF5H@9w4`BM42innbVrC}DA zxfB%Jci*rKxx}!L>!tdar%RCEq(aMfT_h33ppGPl7^1oSWxiRIS;IOs-x|@8 zKtID!g(`a5-rW*Tm2de{>>4*Wxnrnv#~G8`hD%jeR5PgDL_^4`FFljX_twWSND<3H z{R5uks0HaGR96GBO51N<5|?mA!{uW=_kZb_#1wN#K(pS?3~q)%AKp5;7z=?6y-AD~4+8uX(%#Gb|=cP_Uxu8`t|sAukf0*oqZ+fI>V=6 z*_~*g@G-aQrf?@Kw%u&EO1+f_Jja05{gwy`e-VfeX?BOA%uRE{puryM!(0Nl7^b{w zSMmT<}@cU|FXSRiCiAHtMrxW_Q@|4=o*UK^05w-BX)h$5n% z23ZmHFua|f1?_Q)NMeA#I-N}VAEP}}_>NPBnFFK>vj<2Q<_?hg>Y+yIJ4z_v6-B-# zjyD*@TMXkJ#>iXn@i>EVIuVnXmwA@T9PuobJ4!jv;#??w;x?UxEMo1LMa7GDA3{nZ3OciyeS{|z_Jb%;4MNVVofGnh@r87d!;}jfF9^j}5Xmoten%#4 z(FrA?+={y*JQqoz^Q@Rxm%%lUZavlG6YQ>0$BjkL-1@1nH62v&(#9N5)m<*;@rp3j zlj=x{i;(B?Ft64c2|p4_`VL-W$;Ki-{^^a2WxOFwW&_(Xq2fL7t~Cjk+U19*GIX{_ z*vx=qzvic{;}xx$uNEq?y zf4(tsqn+%h!WuqSd038Zf)}1+m=AGW! Zen4f1ZHTq!#AJvqGj7B9cX)5k%|~z@l~w=% literal 0 HcmV?d00001 diff --git a/53-TechTitans/bin/TaskManagerGUI$1.class b/53-TechTitans/bin/TaskManagerGUI$1.class new file mode 100644 index 0000000000000000000000000000000000000000..c2a2a26ede69b42c062892980d635e82abccf10c GIT binary patch literal 664 zcmaKp*-FDe6o&t4YtzPPt97Zn)+)7vRq##`Mcg1Rp!R;6j_qiiKr-rc2`=D;58y+I zXJSDrV&F{9`sbUIkI%Pv09%;1kYLDP@aX24E8Y^}!R1kT%|eQ@*ZiK>e6Cux)5f*% zw1qUoRGj4xx+d<0(zP8=%Rsp@(n5)lA+6goDzDPG+pW4mwN0s{-eM?JeixVO45{6q zDY9Vbb6_E3BZ-`YEb99fq@aw~g9BvtEJ=ypJa&XJjZSt0Y+uSUzu7 zM*lQHmW55(Uh>u{HW|CR{0yi1ivGvAXMoN$^#COd(&@y$jRJ-!Vi?9qM`4@ZMj=yu zg7bpWpLsjZFVJ@vV~vsTzK#Y>U=mX_ox(KDCon_2ps0u(=EyUQhQK@}vIL4>CQgb7 literal 0 HcmV?d00001 diff --git a/53-TechTitans/bin/TaskManagerGUI$2.class b/53-TechTitans/bin/TaskManagerGUI$2.class new file mode 100644 index 0000000000000000000000000000000000000000..c1bea1be9c19cde7fbcb88d47204e0ccf8177b4f GIT binary patch literal 666 zcmaKpT~8W86o%gc%EERF6qI5sezaTwMrlazG^UNQYO+w1TJDGS6i3(DWOu~hWnwk) zqCcQNs`1R0q@iitWM=1lz2})TzkWab1h9*D4l)9j6Pa8Lq?Qwk5566>`VMmJJ(pA2 z3#Fd)zKqW)Fb?tp&D1NeO^>FeP481+RHS{C7}69AfhwPTd79tFHU1_|Y@yzdU#`h1mcL27q>>(#mJ(1?}P-;1#bno<_x$2?7(F=Ja zJF(P*&T;R8BI}_jFqcK;ciW*G(zf#@vMSM`GL|%@0!4eSO!EVmhoh<+e732yvReYR z*3-k4u0UZs=~Ed3;{iOBeB@CHP)1cC-*O3+P-!~4zUonWB6~3jOomA$E2U>idPRMKMk{=_r5)Ga#!A;m9dA9n5tta&3ozr*{658G`EGM5 zAed?Pe|nt%ExAr3+EtFfHY)kvkucZZoenqw=&=ja&kKC$m2e*4`o1nobV_>twjL#lGzW6&G^K$u7&XTd<0q2Nd*+VP|>g6(Se8xJ(*1Q3E6ey!(|ANmcOTfklic^%9aC0{0g=k*? fP#6me9h(Hwu!S;tovyNtJ&Mc)9fjB@(@^{Y`AuOJ literal 0 HcmV?d00001 diff --git a/53-TechTitans/bin/TaskManagerGUI.class b/53-TechTitans/bin/TaskManagerGUI.class new file mode 100644 index 0000000000000000000000000000000000000000..1b72339489f1b2c6288d18db5308786190aa79d3 GIT binary patch literal 5106 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 l8BQ1P^5 Date: Tue, 30 Apr 2024 16:28:26 +0530 Subject: [PATCH 04/14] Create .keep --- 53-TechTitans/.settings/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 53-TechTitans/.settings/.keep diff --git a/53-TechTitans/.settings/.keep b/53-TechTitans/.settings/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/53-TechTitans/.settings/.keep @@ -0,0 +1 @@ + From 013ac0be440b03816fbb9cbf7818421373a95a72 Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:29:25 +0530 Subject: [PATCH 05/14] Add files via upload --- .../.settings/org.eclipse.core.resources.prefs | 2 ++ 53-TechTitans/.settings/org.eclipse.jdt.core.prefs | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 53-TechTitans/.settings/org.eclipse.core.resources.prefs create mode 100644 53-TechTitans/.settings/org.eclipse.jdt.core.prefs diff --git a/53-TechTitans/.settings/org.eclipse.core.resources.prefs b/53-TechTitans/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..4824b80 --- /dev/null +++ b/53-TechTitans/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/53-TechTitans/.settings/org.eclipse.jdt.core.prefs b/53-TechTitans/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..d6b935f --- /dev/null +++ b/53-TechTitans/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,14 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=18 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=18 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=18 From 7de55d3ace9e7b000fe0cb84f20f85948a76916b Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:30:19 +0530 Subject: [PATCH 06/14] Create .keep --- 53-TechTitans/src/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 53-TechTitans/src/.keep diff --git a/53-TechTitans/src/.keep b/53-TechTitans/src/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/53-TechTitans/src/.keep @@ -0,0 +1 @@ + From f71f16781cc1038876617f84893a9f5daaa7f2e4 Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:30:46 +0530 Subject: [PATCH 07/14] Add files via upload --- 53-TechTitans/src/TaskManagerGUI.java | 164 ++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 53-TechTitans/src/TaskManagerGUI.java diff --git a/53-TechTitans/src/TaskManagerGUI.java b/53-TechTitans/src/TaskManagerGUI.java new file mode 100644 index 0000000..55eefdd --- /dev/null +++ b/53-TechTitans/src/TaskManagerGUI.java @@ -0,0 +1,164 @@ +import javax.swing.*; +import java.awt.*; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Comparator; +import java.util.Date; + +public class TaskManagerGUI extends JFrame { + private ArrayList tasks; + private JTextArea taskTextArea; + + public TaskManagerGUI() { + tasks = new ArrayList<>(); + + setTitle("Task Manager"); + setSize(400, 300); + setDefaultCloseOperation(EXIT_ON_CLOSE); + + JPanel mainPanel = new JPanel(); + mainPanel.setLayout(new BorderLayout()); + + taskTextArea = new JTextArea(); + JScrollPane scrollPane = new JScrollPane(taskTextArea); + mainPanel.add(scrollPane, BorderLayout.CENTER); + + JPanel buttonPanel = new JPanel(); + buttonPanel.setLayout(new FlowLayout()); + + JButton addButton = new JButton("Add Task"); + addButton.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + addTask(); + } + }); + + JButton viewButton = new JButton("View Tasks"); + viewButton.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + viewTasks(); + } + }); + + JButton deleteButton = new JButton("Delete Task"); + deleteButton.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + deleteTask(); + } + }); + + buttonPanel.add(addButton); + buttonPanel.add(viewButton); + buttonPanel.add(deleteButton); + + mainPanel.add(buttonPanel, BorderLayout.SOUTH); + + add(mainPanel); + setVisible(true); + } + + private void addTask() { + String title = JOptionPane.showInputDialog("Enter task title:"); + String description = JOptionPane.showInputDialog("Enter task description:"); + String deadlineStr = JOptionPane.showInputDialog("Enter task deadline (format: dd/MM/yyyy HH:mm):"); + + SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy HH:mm"); + Date deadline; + try { + deadline = dateFormat.parse(deadlineStr); + } catch (ParseException e) { + JOptionPane.showMessageDialog(this, "Invalid date format! Please enter in the format: dd/MM/yyyy HH:mm"); + return; + } + + Task newTask = new Task(title, description, deadline); + tasks.add(newTask); + Collections.sort(tasks, new TaskComparator()); // Sort tasks based on priority + taskTextArea.append("Task added successfully!\n"); + } + + private void viewTasks() { + if (tasks.isEmpty()) { + taskTextArea.setText("No tasks to display."); + } else { + taskTextArea.setText(""); + for (Task task : tasks) { + taskTextArea.append(task.toString() + "\n"); + } + } + } + + private void deleteTask() { + if (tasks.isEmpty()) { + JOptionPane.showMessageDialog(this, "No tasks to delete."); + } else { + String[] taskTitles = new String[tasks.size()]; + for (int i = 0; i < tasks.size(); i++) { + taskTitles[i] = tasks.get(i).getTitle(); + } + String selectedTitle = (String) JOptionPane.showInputDialog(this, "Select task to delete:", + "Delete Task", JOptionPane.PLAIN_MESSAGE, null, taskTitles, taskTitles[0]); + if (selectedTitle != null) { + for (Task task : tasks) { + if (task.getTitle().equals(selectedTitle)) { + tasks.remove(task); + taskTextArea.append("Task '" + selectedTitle + "' deleted successfully!\n"); + return; + } + } + } + } + } + + public static void main(String[] args) { + SwingUtilities.invokeLater(new Runnable() { + @Override + public void run() { + new TaskManagerGUI(); + } + }); + } +} + +class Task { + private String title; + private String description; + private Date deadline; + + public Task(String title, String description, Date deadline) { + this.title = title; + this.description = description; + this.deadline = deadline; + } + + public String getTitle() { + return title; + } + + public String getDescription() { + return description; + } + + public Date getDeadline() { + return deadline; + } + + @Override + public String toString() { + return "Title: " + title + ", Description: " + description + ", Deadline: " + deadline; + } +} + +class TaskComparator implements Comparator { + @Override + public int compare(Task t1, Task t2) { + return t1.getDeadline().compareTo(t2.getDeadline()); + } +} From ee42d373444f649cca936bcf91597cf15df1c0f9 Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:32:54 +0530 Subject: [PATCH 08/14] Delete 53-TechTitans/src --- 53-TechTitans/src/.keep | 1 - 1 file changed, 1 deletion(-) delete mode 100644 53-TechTitans/src/.keep diff --git a/53-TechTitans/src/.keep b/53-TechTitans/src/.keep deleted file mode 100644 index 8b13789..0000000 --- a/53-TechTitans/src/.keep +++ /dev/null @@ -1 +0,0 @@ - From 7e23f2ca87f1818f53b368fa84bbb0c225d0df92 Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:33:15 +0530 Subject: [PATCH 09/14] Delete 53-TechTitans/bin --- 53-TechTitans/bin/.keep | 1 - 1 file changed, 1 deletion(-) delete mode 100644 53-TechTitans/bin/.keep diff --git a/53-TechTitans/bin/.keep b/53-TechTitans/bin/.keep deleted file mode 100644 index 8b13789..0000000 --- a/53-TechTitans/bin/.keep +++ /dev/null @@ -1 +0,0 @@ - From fabee5b74d6ab73052438a35f2421d7804fef0a9 Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:33:35 +0530 Subject: [PATCH 10/14] Delete 53-TechTitans/.settings --- 53-TechTitans/.settings/.keep | 1 - 1 file changed, 1 deletion(-) delete mode 100644 53-TechTitans/.settings/.keep diff --git a/53-TechTitans/.settings/.keep b/53-TechTitans/.settings/.keep deleted file mode 100644 index 8b13789..0000000 --- a/53-TechTitans/.settings/.keep +++ /dev/null @@ -1 +0,0 @@ - From 0d60465ee24deba008b22590d663a73815fbdacf Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:33:56 +0530 Subject: [PATCH 11/14] Delete 53-TechTitans --- 53-TechTitans/.keep | 1 - 1 file changed, 1 deletion(-) delete mode 100644 53-TechTitans/.keep diff --git a/53-TechTitans/.keep b/53-TechTitans/.keep deleted file mode 100644 index 8b13789..0000000 --- a/53-TechTitans/.keep +++ /dev/null @@ -1 +0,0 @@ - From 0bd5ab4bd0f7edce530bca1eddd85e0d785bb57a Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:37:31 +0530 Subject: [PATCH 12/14] Add files via upload --- 53-TechTitans/.classpath | 10 ++++++++++ 53-TechTitans/.project | 28 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 53-TechTitans/.classpath create mode 100644 53-TechTitans/.project diff --git a/53-TechTitans/.classpath b/53-TechTitans/.classpath new file mode 100644 index 0000000..cdb4ef0 --- /dev/null +++ b/53-TechTitans/.classpath @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/53-TechTitans/.project b/53-TechTitans/.project new file mode 100644 index 0000000..149781b --- /dev/null +++ b/53-TechTitans/.project @@ -0,0 +1,28 @@ + + + TaskManager + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + + + 1714473260680 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + + From acc0ebe03aa15c8f7d3b988fb0a17eab33c8c99f Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 23:27:25 +0530 Subject: [PATCH 13/14] Create README.md --- 53-TechTitans/README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 53-TechTitans/README.md diff --git a/53-TechTitans/README.md b/53-TechTitans/README.md new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/53-TechTitans/README.md @@ -0,0 +1 @@ + From 0dc40ae75c509f5cba38059c458c0a83a10b564c Mon Sep 17 00:00:00 2001 From: Tanishqa242 <161753168+Tanishqa242@users.noreply.github.com> Date: Tue, 30 Apr 2024 23:29:27 +0530 Subject: [PATCH 14/14] Update README.md --- 53-TechTitans/README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/53-TechTitans/README.md b/53-TechTitans/README.md index 8b13789..b49c12f 100644 --- a/53-TechTitans/README.md +++ b/53-TechTitans/README.md @@ -1 +1,33 @@ +Task Manager GUI +The Task Manager GUI is a Java application designed to help users manage their tasks effectively. It provides a graphical user interface (GUI) for adding, viewing, and deleting tasks, along with displaying task details such as title, description, and deadline. +Features +Add Task: Users can add new tasks by providing a title, description, and deadline in the specified format (dd/MM/yyyy HH:mm). +View Tasks: Users can view all added tasks sorted by their deadlines.The task which is to be done first is displayed first based on the deadline. Tasks are displayed in a text area within the GUI. +Delete Task: Users can select and delete tasks from the list. Tasks are deleted based on their titles. + + +Tools andTechniques used +ArrayList: Used to store the tasks added by the user. The ArrayList allows for dynamic resizing and efficient storage and retrieval of task objects. +Date: Utilized to represent task deadlines. Dates are parsed and formatted using the SimpleDateFormat class, ensuring consistency and compatibility with user input and display. +JTextArea: Used to display tasks within the GUI. The JTextArea component provides a scrollable text area for presenting task details to the user. +JScrollPane: Incorporated to enable scrolling functionality within the JTextArea when the number of tasks exceeds the visible area, ensuring a seamless user experience. +Custom Comparator: Implemented a custom comparator (TaskComparator) to sort tasks based on their deadlines. This comparator is used in conjunction with Collections.sort() to maintain tasks in ascending order of deadlines. + + +Requirements +Java Development Kit (JDK) +Java Swing library for GUI components +Video Link +https://drive.google.com/file/d/19CG9PDrTrxDTZPwUtqw-EiJAGBzpJ2y3/view?usp=sharing + + + + + + +15 Day Report 1: +https://docs.google.com/document/d/12FsSRyhOI-NnVypT2zaPgVI-l46HSBTjMBG_fGUeczg/edit?usp=sharing + +15 Day Report 2: +https://docs.google.com/document/d/16XrLwLSu-Wkn_sPkGkDTiV9RffEM6ZMwkeWE_xL0a1Q/edit?usp=sharing