private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        try{
            if(!Helpers.isValidDouble(jTextField2.getText())){
                JOptionPane.showMessageDialog(this, "Please enter valid number for amount", "Number Format Error", JOptionPane.ERROR_MESSAGE);
                return;
            }
            setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
            System.out.println("serverID:"+serverID+",nymID:"+nymID+",accountID:"+accountID);
            boolean success = new OpenTransactionAccount().sendTransfer(serverID, nymID, accountID,jTextField2.getText(),jTextArea1.getText(),jTextField1.getText());
            /**
             * Reload the inbox and top accounts panel if success
             */
            if(success){
                JOptionPane.showMessageDialog(this, "Account to Account Transfer done successfully","Success",JOptionPane.INFORMATION_MESSAGE);
                Helpers.reloadOTDetails(accountID);
                MainPage.reLoadAccount();
            }

            else
                JOptionPane.showMessageDialog(this, "Error in Account to Account transfer","Server Error",JOptionPane.ERROR_MESSAGE);
        }catch(Exception e){
            e.printStackTrace();
        }finally{
            setCursor(Cursor.getDefaultCursor());
        }
        dispose();
    }//GEN-LAST:event_jButton1ActionPerformed