Skip to content

RachitSham/ToDo_Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

ToDo_Application

๐Ÿš€ Fearures:-

๐Ÿ”น Task Class โ€“ Represents a to-do item (ID + text) with equality checks (equals & hashCode).

๐Ÿ”น TaskService โ€“ Handles:

๐Ÿ”น Adding tasks with validation (no blank tasks).

๐Ÿ”น Removing tasks by ID.

๐Ÿ”น Returning an unmodifiable list of tasks.

๐Ÿ”น ToDoFrame โ€“ GUI implementation:

๐Ÿ”น Text field + โ€œAddโ€ button to create tasks.

๐Ÿ”น Task list display in a scrollable area.

๐Ÿ”น โ€œDeleteโ€ button to remove selected tasks.

๐Ÿ”น Validation messages via JOptionPane.

๐Ÿ”น Main Class โ€“ Initializes TaskService & launches ToDoFrame on the Swing Event Dispatch Thread.

๐Ÿš€ Functional Flow:-

๐Ÿ”น User types task โ†’ clicks โ€œAddโ€ or presses Enter โ†’ TaskService.add() โ†’ Refresh task list.

๐Ÿ”น User selects a task โ†’ clicks โ€œDeleteโ€ โ†’ TaskService.removeById() โ†’ Refresh list.

๐Ÿ”น Input validation prevents blank tasks and shows warning popups.

๐Ÿ“Œ References :-

๐Ÿ”น I used ChatGPT to refine the grammar and structure of the key points explaining my code .

๐Ÿ”น I have take the help of ChatGpt and GeeksforGeeks [https://www.geeksforgeeks.org] to explore the Java Swing .

๐Ÿ”น For Code Review and for exception came in the application I Used ChatGpt.

๐Ÿ”น Additionally, I referred to GeeksforGeeks [https://www.geeksforgeeks.org] for conceptual guidance and coding references to ensure clarity and correctness in my implementation.

About

Build a clean Java Swing To-Do app with add/delete features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages