A simple desktop To-Do List application built using Java Swing.
This project allows users to add and delete tasks interactively through a clean GUI.
Build a To-Do list using Java Swing to learn the basics of desktop GUI development.
- Java (JDK 8 or above)
- Swing (built into Java)
- IDE: IntelliJ IDEA CE, Eclipse, or VS Code with Java Extension Pack
- Add new tasks to the list
- Delete selected tasks
- Simple, responsive GUI
- Error handling for empty input or no selection
ToDoApp.java # Main source code
README.md # Project documentation
- Create a new Java project.
- Copy the
ToDoApp.javafile into thesrcfolder. - Run the file directly from the IDE.
- Install Java JDK (check with
java -version). - Install Extension Pack for Java in VS Code.
- Create a folder and add
ToDoApp.java. - Open terminal in VS Code and run:
javac ToDoApp.java java ToDoApp
πΈ Demo
π Learning Outcomes
Basics of Java Swing (JFrame, JButton, JTextField, JList)
Event handling using ActionListener
Managing tasks with DefaultListModel
π§βπ» Author AKASH BHUJABAL