示例#1
0
 public void getAccount() throws RemoteException {
   String username = view.getUserName();
   Double amt = bs.getAccount(username);
   current = username;
   ba.set(amt);
   view.setBalance("");
   view.setAmount("");
 }
示例#2
0
 public void newAccount() throws RemoteException {
   String username = view.getUserName();
   bs.newAccount(username);
   current = username;
   ba.set(0.0);
   view.setBalance("");
   view.setAmount("");
 }