https://github.com/rachitsham/todo_application
Build a clean Java Swing To-Do app with add/delete features.
https://github.com/rachitsham/todo_application
collection java jbutton jframe jlist jtextfield list
Last synced: 9 months ago
JSON representation
Build a clean Java Swing To-Do app with add/delete features.
- Host: GitHub
- URL: https://github.com/rachitsham/todo_application
- Owner: RachitSham
- Created: 2025-08-13T12:28:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-13T13:00:24.000Z (10 months ago)
- Last Synced: 2025-08-13T14:34:48.360Z (10 months ago)
- Topics: collection, java, jbutton, jframe, jlist, jtextfield, list
- Language: Java
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.