You are on page 1of 5

FINAL PROJECT – CASE STUDY

COMPROG2 – COMPUTER PROGRAMMING 2

NAME SCORE
SECTION GROUP # DATE SUBMITTED

ATM TRANSACTIONS WITH DATABASE

CASE STUDY SPECIFICATIONS: (MINIMUM REQUIREMENTS)


• Design your own user interface using Eclipse WindowBuilder/NetBeans

• Frame 1: Start Transaction

Section & Group #: Wednesday


GROUP MEMBERS: MAY
Member 1
Member 2 18
Member 3 2022
Member 4
Member 5 10:55 AM

o Start Transaction button, upon clicking will display Frame 2 (Pin Number Frame)

• Frame 2: Pin Number

****

• Pin Number, if pin number exits will display Frame 3 (Transaction Frame)
o Only numeric values will be accepted for pin number
o Note: use the sample pin number as shown in the customer information table
o Customer information Table: (Stored in a DATABASE using MariaDB/MySQL)
Pin Account Current Date of Civil
Account Name Gender
Number Number Balance Birth Status
1111 12345 Raine Dessirei A. Traballo 10,000.00 02/14/2008 F S
2222 23456 Railynne Dessirei A. Traballo 25,000.00 05/01/2004 F S
3333 34567 Railee Darrel A. Traballo 1,000.00 06/12/2002 M S
4444 45678 Dorie Marie A. Traballo 5,000.00 11/01/2000 F M
5555 56789 Roel Richard C. Traballo 50,000.00 12/25/2000 M M
Note: Assign Pin Number as Primary Key

o Pin number should be entered three (3) times only.


o If the user entered wrong pin number 3 times will prompt the user with “Captured Card…
Call 123-4456” (Note: Click OK means to terminate the program)

Message for wrong pin number Message for wrong pin number 3 times

• Frame 3: Transaction

o Balance Inquiry, will display Frame 4 (Balance Inquiry Frame)


o Withdraw, will display Frame 5 (Withdraw Frame)
o Deposit, will display Frame 6 (Deposit Frame)
o Cancel, will go back to Frame 1 (Start Transaction Frame)
▪ Frame 4: Balance Inquiry

o Sample Data based from the entered pin number


Pin Current
Account Number Account Name
Number Balance
1111 1234 5678 9012 3456 Raine Dessirei A. Traballo 10,000.00
o Back button, will go back to Frame 3 (Transaction Frame) (Applied also to Frame 5 & 6)
o Cancel button, will go back to Frame 1 (Main Frame) (Applied also to Frame 5 & 6)

▪ Frame 5: Withdrawal

o Amount to be withdrawn: (see radio buttons)


▪ Maximum amount: Php 20,000.00
▪ Minimum amount: Php 100.00
▪ Dispense amount: Php 100.00 to Php 1,000.00 bill (denomination of 100 only)
Note: Valid amount example: 100, 200, 500, 700, 1400
Invalid amount example: 750, 1000.23, 12345
▪ If one of the radio button is clicked will display the amount selected in the TextField.
Note: the TextField should be set to Enabled=False initially.
▪ If Other Amount is selected will enable the TextField and you may type the desired
amount.

o Accept button, will process the withdrawn amount and will display a message about the
withdrawal transaction. (see sample prompt below)

Message for Invalid Amount

Message for Valid Amount

o New Data based from the withdrawal transaction


Pin Current
Account Number Account Name
Number Balance
1111 1234 5678 9012 3456 Raine Dessirei A. Traballo 5,000.00
o If the amount to be withdrawn is greater than the current balance, prompt the user with
“Insufficient Fund”

• Frame 6: Deposit
o Amount to be deposited:
▪ Maximum amount: no limit
▪ Minimum amount: Php 100.00
o Accept button, will process the deposited amount and will display a message about the
deposit transaction. (see sample prompt below)

Message for Invalid Amount

Message for Valid Amount

o New Data based from the deposit transaction


Pin Current
Account Number Account Name
Number Balance
1111 1234 5678 9012 3456 Raine Dessirei A. Traballo 7,500.00

• NOTE:
o Administrator pin number is “0000”
o Design your own UI for Admin Frame
o Administrator account can do the following
▪ View all customer information (using JTable)
▪ Add new customer
▪ Edit customer information (account name, birthdate, gender, civil status only)
▪ Change customer pin number

❖ Checking will be on or before June 15, 2022

You might also like