Class CreateAccount_GUI

Object
CreateAccount_GUI
All Implemented Interfaces:
ActionListener, EventListener

public class CreateAccount_GUI
extends Object
implements ActionListener
This class defines a new GUI for the software partition, and implements methods to create an Account object.
Version:
1.0
Author:
Tristan Parry
  • Constructor Summary

    Constructors
    Constructor Description
    CreateAccount_GUI​(Client clientArg)
    This constructor creates a GUI for the CreateAccount method of the BetterBanking software.
  • Method Summary

    Modifier and Type Method Description
    void actionPerformed​(ActionEvent ae)
    This method requests user input for a valid Account type (that is not currently in use), and creates a BetterBanking Account from this parameter.
    static void createAccount​(Client clientArg)
    This method runs the GUI for the CreateAccount_GUI class, by instantiating a CreateAccount_GUI window object.

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CreateAccount_GUI

      public CreateAccount_GUI​(Client clientArg)
      This constructor creates a GUI for the CreateAccount method of the BetterBanking software.
      Parameters:
      clientArg - Client object used to access the corresponding BetterBanking Client account
  • Method Details

    • actionPerformed

      public void actionPerformed​(ActionEvent ae)
      This method requests user input for a valid Account type (that is not currently in use), and creates a BetterBanking Account from this parameter.
      Specified by:
      actionPerformed in interface ActionListener
    • createAccount

      public static void createAccount​(Client clientArg)
      This method runs the GUI for the CreateAccount_GUI class, by instantiating a CreateAccount_GUI window object.
      Parameters:
      clientArg - Client object used to access the corresponding BetterBanking Client account