An open API service indexing awesome lists of open source software.

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.

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.