🔒 Closed Bank project joptionpane simple program

Status
Not open for further replies.

TheScript

Established
Sample Program
MayBank



upload_2014-11-2_6-45-16.webp

upload_2014-11-2_6-46-3.webp

upload_2014-11-2_6-46-34.webp
4 digit pin code

Transfer Balance

upload_2014-11-2_6-48-30.webp

Code:
+ "\n [1] Deposit"
                    + "\n [2] Withdraw"
                    + "\n [3] Loan Application"
                    + "\n [4] ATM"
                    + "\n [5] Pay Bills"
                    + "\n [6] Transfer Balance"   
                    + "\n [7] Check Account"                   
                    + "\n [8] Exit",



Code:
package maybank;
import javax.swing.JOptionPane;
public class MayBank {
public static void main(String[] args) {
   transaction myacc =  new transaction();
        do{
            String choice = JOptionPane.showInputDialog(null,"—(••÷[ [WELCOME TO MAY BANK! ] ]÷••—\n"
                    + "\n [1] Log In"
                    + "\n [2] Create a MayBank Account"
                    + "\n [3] Exit"
                    + "\n"
                    + "\n"
                    ,"—(••÷[ [WELCOME TO MAY BANK! ] ]÷••—",JOptionPane.PLAIN_MESSAGE);           
            switch(choice){
                case "1":
                    myacc.login();
                    break;
                case "2":
                   myacc. createAccount();
                    break;
                case "3":
                    myacc.exitSystem();
                    break;
                default:
                    myacc.wrongInput();
                    break;                   
            }           
        }while(true);       
    }      
}
    

Programmers 
Me
Blessel
Renzo

Pm Me For The Password
 

Attachments

Gamit JOptionPane.. :-) dapat inexpand mu pinaka gamit ng swing library.. At nilagyan mu na rin sana ng jdbc.. Para may retrieving process.. ;-)
 
Partido State University Poh .. BSIT - 2A .. Tsaka Pdeng Pong Patutorial? Project Kse Namin Yan Eh .. Sa Martes Na Pasahan :)
 
sa sourcecodester marami doon finished programs at planetsourcecode try lng ask kay google sa right domain name nya i hope this will help u guys ^_^
 
sir. pwedi po bang maka hingi po ng password..
try q po gumawa ng prog. na iba...
salamat po sa clue..BSIT2 po..hehe
salamat po ulit..
 
Status
Not open for further replies.

About this Thread

  • 51
    Replies
  • 11K
    Views
  • 38
    Participants
Last reply from:
marnie_anunciado07051994

Trending Topics

Online now

Members online
1,247
Guests online
1,777
Total visitors
3,024

Forum statistics

Threads
2,272,531
Posts
28,943,281
Members
1,237,240
Latest member
edgardoluisazcona
Back
Top