Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 1.67 KB

File metadata and controls

74 lines (56 loc) · 1.67 KB

Expense Tracker - Java Swing

A simple Personal Expense Manager built using Java Swing, allowing users to track income, expenses, categories, and view their remaining balance.


Features

  • Add total income.
  • Log multiple expenses with:
    • Amount
    • Category (Household, Food, Transportation, Health, Shopping, Travel, Education, Work, Financial, Miscellaneous)
    • Date (Day, Month, Year)
    • Description
  • Track remaining balance after expenses.
  • Display all expenses in a table.
  • User-friendly Graphical User Interface with Java Swing components.

Technologies Used

  • Java (JDK 8+)
  • Swing for GUI
  • AWT for event handling

How to Run

  1. Clone the repository
    git clone https://github.com/yourusername/ExpenseTracker.git
  2. Navigate to the source folder
    cd ExpenseTracker/src
  3. Compile Java files
    javac *.java
  4. Run the application
    java Expense_main

Note: Ensure you have JDK installed and your environment variables are set correctly.


Usage

  1. Open the application.
  2. Enter your total income in the provided field.
  3. Click Add Expense to log a new expense.
  4. Fill in the expense details:
    • Amount
    • Category
    • Date
    • Description
  5. Click Submit to add the expense to the table.
  6. Remaining balance will update automatically.
  7. View all logged expenses and balances in the main table.

Future Improvements

  • Save expenses to a file (CSV/JSON) or database.
  • Generate monthly or annual expense reports.
  • Add charts and graphs for visualizing expenses.
  • Implement user authentication for multiple profiles.