This is a simple To-Do List application built using Java Swing. It allows users to add and remove tasks using a graphical user interface (GUI). The project demonstrates the usage of JFrame, JButton, JTextField, JList, and JOptionPane for event handling and user interaction.
- Add Tasks: Enter a task and click the Add button to add it to the list.
- Delete Tasks: Select a task from the list and click the Delete button to remove it.
- User-Friendly Interface: Simple GUI built with Java Swing.
- Error Handling: Displays a message if an empty task is entered.
- Java (JDK 8+ recommended)
- Swing (for GUI development)
- Maven (for project management, if applicable)
- Clone the repository
git clone https://github.com/your-username/todo-list-java.git cd todo-list-java
- Open in NetBeans (or any Java IDE that supports Swing)
- Run the Project
- If using NetBeans, click the Run button.
- If using Command Line:
mvn clean compile exec:java
- Open the application.
- Type a task in the input field.
- Click Add to add it to the list.
- Select a task and click Delete to remove it.
Feel free to submit issues or pull requests to improve the application.
This project is licensed under the MIT License.