MyWikiBiz, Author Your Legacy — Friday November 29, 2024
Jump to navigationJump to search
60 bytes removed
, 00:47, 11 December 2008
Line 173: |
Line 173: |
| { | | { |
| private float balance; | | private float balance; |
− | private float totalServiceCharge; //Changed from double | + | private float totalServiceCharge; |
| private int transCount; | | private int transCount; |
| private Transaction[] tList; | | private Transaction[] tList; |
Line 221: |
Line 221: |
| return totalServiceCharge; | | return totalServiceCharge; |
| } | | } |
− | public CheckingAccount() //Needed? | + | public CheckingAccount() |
| { | | { |
| balance = 0; | | balance = 0; |
Line 295: |
Line 295: |
| { | | { |
| int tCode = 0; | | int tCode = 0; |
− | String stringBalance, stringTCode, stringTransAmt, message;
| + | String stringBalance, stringTCode, stringTransAmt, message; |
| float balance, transAmt, charge, balanceBeforeCharge; | | float balance, transAmt, charge, balanceBeforeCharge; |
| //boolean done = false; | | //boolean done = false; |
Line 446: |
Line 446: |
| JOptionPane.showMessageDialog(null, message); | | JOptionPane.showMessageDialog(null, message); |
| //done = true; | | //done = true; |
− | System.exit(0); //Modify to window listener? | + | System.exit(0); |
| } | | } |
| } | | } |