Skip to content

mansikhairnar003/Java-To-Do-List-with-SQLite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📌 To-Do List Application with Database (Java + Swing)

📖 Description

This project is a desktop-based To-Do List application developed using Java Swing with SQLite database integration.

The application allows users to manage daily tasks through a graphical user interface (GUI). All tasks are stored persistently in a database, ensuring data is saved even after restarting the application.


🚀 Features

  • Add new tasks
  • Delete tasks
  • Mark tasks as completed
  • Persistent storage using SQLite database
  • Automatic loading of tasks on application start
  • Simple and user-friendly GUI

🛠️ Technologies Used

  • Java
  • Swing (GUI)
  • SQLite (Database)
  • JDBC (Java Database Connectivity)

🧠 Project Structure

  • ToDoListAppDB.java → Main application logic and GUI
  • SQLite Database (tasks.db) → Stores tasks
  • Uses JDBC for database operations

⚙️ How It Works

  1. The application connects to a SQLite database.
  2. A table is created if it does not already exist.
  3. Tasks are loaded from the database on startup.
  4. Users can:
    • Add tasks → stored in DB
    • Delete tasks → removed from DB
    • Mark tasks as done → updates DB
  5. UI updates dynamically based on actions.

⚙️ Database Info

The application uses SQLite database. The database file (tasks.db) will be automatically created when you run the application.


▶️ How to Run

  1. Open project in Eclipse or any Java IDE
  2. Make sure SQLite JDBC driver is added
  3. Run ToDoListAppDB.java
  4. The application window will open

📷 Screenshot

Output1 Output1 Output1


💡 Future Improvements

  • Add task editing feature
  • Add due dates and reminders
  • Improve UI design
  • Add categories or priority levels

👩‍💻 Author

Mansi Khairnar

About

A desktop To-Do List application in Java using Swing GUI and SQLite database. Users can add tasks, mark them as done, and delete them. All tasks are saved persistently in a local database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages