Skip to content

Calculator to help simulate profit after given years, with sources of income and expenses

Notifications You must be signed in to change notification settings

knk38/financial-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

financial-calculator

Calculator to help simulate profit after given years, with sources of income and expenses

2 main files:

ApplicationWindow.java is the file that runs the GUI and user interface

DataStorage.java is the file that runs the calculations for income and expenses, also sums the total.

Pages are controlled by a system of JPanel objects that appear and disappear using a helper function switchPages that takes two panel parameters (to and from) and sets the visibility attribute of 'to' to True and 'from' to False.

Transaction data is stored in a static ArrayList that is updated every time the user inputs an expense or a source of income.

The function sum sums up all of the sources of income and expenses in the 'transactions' ArrayList

The final String message that is displayed to the user is formmated by the function giveResult in DataStorage.java

About

Calculator to help simulate profit after given years, with sources of income and expenses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages