[Webfunds-commits] java/webfunds/client SimplePaymentFrame.java
Ian Grigg
iang@cypherpunks.ai
Sun, 24 Sep 2000 19:15:13 -0400 (AST)
iang 00/09/24 19:15:13
Modified: webfunds/client SimplePaymentFrame.java
Log:
uses new units methods from Contract
Revision Changes Path
1.45 +3 -3 java/webfunds/client/SimplePaymentFrame.java
Index: SimplePaymentFrame.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/SimplePaymentFrame.java,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- SimplePaymentFrame.java 2000/07/16 19:27:23 1.44
+++ SimplePaymentFrame.java 2000/09/24 23:15:12 1.45
@@ -1,5 +1,5 @@
/*
- * $Id: SimplePaymentFrame.java,v 1.44 2000/07/16 19:27:23 iang Exp $
+ * $Id: SimplePaymentFrame.java,v 1.45 2000/09/24 23:15:12 iang Exp $
*
* Copyright (c) Systemics Ltd 1995-1999 on behalf of
* the WebFunds Development Team. All Rights Reserved.
@@ -327,7 +327,7 @@
pm.getUInterface(this).errorMessage(e);
return ;
}
- long longamount = contract.getUnits(dub);;
+ long longamount = contract.getUnitsOfContract(dub);;
// who to
AccountInfo tgt = (AccountInfo)combo.getSelectedItem(); //default BEARER
@@ -361,7 +361,7 @@
//
if ("Make Payment".equals(command))
{
- double am = contract.getAmount(longamount);
+ double am = contract.getUnitsOfAccount(longamount);
String tla = contract.getField("currency", "currency_tla");
String nam = "";
if (tla == null)