CashPurseAccount cashPurseAccount = new CashPurseAccount();
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
boolean isSuccess = cashPurseAccount.depositCashPurse(details.getServerID(), details.getAssetID(), details.getNymID(), details.getPurse(), selectedIndices, jTextField1.getText());
if (isSuccess) {
JOptionPane.showMessageDialog(this, "Cash Purse deposited successfully", "Cash Purse Deposit Success", JOptionPane.INFORMATION_MESSAGE);
CashPurseDetails cashDetails = new CashPurseAccount().getCashPurseDetails(details.getServerID()+":"+details.getAssetID()+":"+details.getNymID());
CashPurseAccountBottomPanel.populateCashPurseDetails(cashDetails);
CashPurseAccountTopPanel.populateCashPurseDetails(cashDetails, cashDetails.getBalance());
MainPage.reLoadAccount();
//CashPurseAccountBottomPanel.refreshGrid(cashPurseAccount.refreshGridData(details.getServerID(), details.getAssetID(), details.getNymID()));
} else {
if(Helpers.getObj()!=null){
new CashPurseExportDetails(null, true,(String)Helpers.getObj(),false).setVisible(true);