Example #1
0
 public void model_deposit(String customerID, String customerPIN) {
   // calls the depositScreen from the RunningFrame class
   validate_info(customerID, customerPIN);
   if (customer != null) {
     jf.dispose();
     jf = new RunningFrame(this);
     String result = customer.returnInfo();
     ArrayList<String> allAccounts = customer.getAllAccounts();
     jf.depositScreen(result, allAccounts);
   }
 }