use of com.moneychanger.ui.dialogs.DepositCashDialog in project otapij by FellowTraveler.
the class OpenTransactionAccountTopPanel method jButton_DepositCashActionPerformed.
//GEN-LAST:event_jButton_WithdrawCashActionPerformed
private void jButton_DepositCashActionPerformed(java.awt.event.ActionEvent evt) {
//GEN-FIRST:event_jButton_DepositCashActionPerformed
String[] purseDetails = new OpenTransactionAccount().getPurseBalance(jTextField_ServerID.getText(), jTextField_AssetID.getText(), jTextField_NymID.getText());
/*if(purseDetails==null){
JOptionPane.showMessageDialog(this, "Error in cash deposit. Empty purse","Error",JOptionPane.ERROR_MESSAGE);
return;
}*/
new DepositCashDialog(null, true, purseDetails, jTextField_ServerID.getText(), jTextField_NymID.getText(), jTextField_AccountID.getText()).setVisible(true);
}
Aggregations