-
Banking Application
Hello to all,
I am new to this forum and I will consider everything as an advice.
I need to develop a GUI application for a small bank which is going to hold Users, Accounts --> Different types, Visas, Checkings , Savings , Loans etc.
I have also a GUI called trasnactions...
I have started creating the GUIs using Netbeans , and the classes.
I will make the accounts interface so i will implement the Visas etc.
I dont know how to associate transactions with a class.
I dont know how to proceed.
I need to authenticate users using an interface and also i need a master driverr class to create users
:(
Any help is much appreciated...
-
Re: Banking Application
Uhm.
Did you get some code to get you started? Because you could probably do this in alot of ways.
And what do you mean with "Users, Accounts --> Different types, Visas, Checkings , Savings , Loans etc"
That there is a Account classe? who has different types(methods) Visas,Checkings etc.
Or do you mean there there are different Acount classes : Visas Checkings etc.?
-
Re: Banking Application
I have created the interface accounts and I will inherit and reimplelemnt the behavior in each of the accounts I mention.
Sample code below.
Please help :(
/* Accounts interface*/
interface Accounts
{
//to do here
}
/*End Accounts interface*/
/************************************************** ****************************/
/*Users Class*/
class Users
{
//Variables
private String userName;
private int userId;
private String userAddress;
private String userEmail;
private double userAccountBalance;
private double userTotalWithdrawals;
private double userTotalDeposits;
Users users=new Users();
ArrayList<Users> UsersList=new ArrayList<Users>(150);//allocate space for 150 Users in our Arraylist
//to do here methods to be specified
//methods below this line
}
/*End Users Class*/
/************************************************** ****************************/
/*Class Savings*/
class Savings implements Accounts
{
//to do here
}
/*End Savings Class*/
/************************************************** ****************************/
/*Class Checking*/
class Checking implements Accounts
{
//to do here
}
/*End Checking Class*/
/************************************************** ****************************/
/*Class Credit Cards*/
class CreditCards implements Accounts
{
//to do here
}