Skip to content

PoojithaJN/ToDoList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

ToDoList

Objective

Build a simple and interactive To-Do List GUI application using Java Swing that allows users to:

  • Add tasks
  • Delete selected tasks
  • View all current tasks

Tools Used

  • Java (JDK 24)
  • Java Swing (built-in GUI library)
  • Eclipse IDE (can also use IntelliJ CE)

Features

  • GUI-based interface using Java Swing
  • Add new tasks using a text field and button
  • Delete selected tasks from the list
  • Scrollable list to view all tasks
  • Input validation and message dialogs

How to Run the Project in Eclipse

  1. Open Eclipse IDE
  2. Create a new Java Project
    • File > New > Java Project
  3. Create a new Class
    • Right-click src > New > Class
    • Class Name: ToDoList
    • Check the box for public static void main(String[] args)
  4. Write the code
  5. Run the project
    • Click the green "Run" button or right-click the file > Run As > Java Application

Key Concepts Used

  • JFrame: For creating the main application window
  • JTextField: For task input
  • JButton: For user actions (Add/Delete)
  • JList & DefaultListModel: For displaying and managing the list of tasks
  • JScrollPane: For making the task list scrollable
  • Event Handling: Using ActionListener for button clicks
  • Layout Managers: BorderLayout and FlowLayout used for component organization

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages