Class: MetaData.java
Class: Transaction.java
Class: FinanceDB.java
Class: Finance.java
Class: FormatUI.java
Class: FinanceUI.java
Class: FinanceMain.java
Author: Shahrzad Jahangirian
Language: Java (using Java 6) Download Java 6 and
Download Java Runtime 6(JRE)
Database: MySql
Date Added: Feb 1st, 2014
Licence: All source codes are for showing my skills in Software Development to get me a Job as an Application Developer.
You are not allowed to sell this Application or use my codes to develop an application for Sale or apply my codes to develop
software for commercial use and profit. You can offer me a price to buy the Application for mass production or buy my codes to
develop your application for profit. Also you may offer me a price to buy this Application for your Business and ask me to update
the codes to match your Business Requirements.
Description: This is a Java MySql Personal Finance Software. The idea for developing this MySql Database Application
was my Commonwealth Bank Statement as a money management software. User enters income and expense records and this Java Application Software saves the record
into the Transaction Table of Finance Database. This personal budget software calculates the current balance and displays it at the top and also
in a report with each Transaction record. Obviously for an experience developer this application is very small
thinking the real world software is large with many user interface screens and very complex logic. But my main goal is
to get Employment offers for writing this type of Application and put its codes on my website. So hopefully
a Developer or a Recruiter with Java programming knowledge could see my Analysis, Logic, Design and Implementation styles and finally I win a
Software Developing Position.
How to Run: I tested all codes on Windows 7 Command Prompt with
Java(TM) SE Runtime Environment 6 on my computer.
( you may download Java Virtual Machine by visiting
this link )
Also to run this application you have to have
MySql installed in your computer and know what is your MySql Username and Password. I used MySql 5.6.15 for this
Application. In the time of writing of this page you may download MySql Database "MySQL Installer 5.6.15 (234.8M)" from
http://dev.mysql.com/downloads/windows/installer/ page URL.
Then you need to create all files and save it in a folder in your computer such as C:\javacodes
and compile and run at command prompt as follows. I assumed you saved all files at C:\javacodes
For this Application first you need to run MetaData.java class and access database successfully with your MySql username and password placed at
jdbc:mysql://localhost?user=YourMysqlUsername&password=YourMysqlPassword
for creating FINANCE Database and TRANSACTION Table as follows:
C:\javacodes> javac MetaData.java "This is to compile"
C:\javacodes> Java MetaData "This is to run"
Obviousley you should not have any error messages and also make sure Database and Table
have been created by visiting your own MySql Database in your computer.
Then use a .bat file or compile following files on command prompt in its exact orders
C:\javacodes> javac Transaction.java -d c:\javacodes
C:\javacodes> javac FinanceDB.java -d c:\javacodes
C:\javacodes> javac Finance.java -d c:\javacodes
C:\javacodes> javac FormatUI.java -d c:\javacodes
C:\javacodes> javac FinanceUI.java -d c:\javacodes
C:\javacodes> javac FinanceMain.java "compiles the LoginMain class"
C:\javacodes> Java FinanceMain "and finally with this statement runs this Application"