Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Banking Application

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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...


  2. #2
    Junior Member
    Join Date
    Sep 2010
    Location
    Netherlands
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default 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.?

  3. #3
    Junior Member
    Join Date
    Dec 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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
    }
    Last edited by mbouster; January 9th, 2011 at 12:04 PM.

Similar Threads

  1. Console Application - How to run it?
    By mirzahat in forum AWT / Java Swing
    Replies: 3
    Last Post: November 16th, 2010, 12:21 AM
  2. [SOLVED] [help] the application file (.jad) for application does not appear to be the ....
    By ordinarypeople in forum Java ME (Mobile Edition)
    Replies: 0
    Last Post: April 4th, 2010, 03:50 AM
  3. An RMI-IIOP Application
    By Quicksliver in forum What's Wrong With My Code?
    Replies: 0
    Last Post: February 19th, 2010, 11:23 PM
  4. Replies: 0
    Last Post: December 3rd, 2009, 04:43 PM
  5. Help with Java Application
    By Riston in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: November 19th, 2009, 07:17 PM