private void jButton4ActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jButton4ActionPerformed BitcoinAccount btcAcct = new BitcoinAccount(serverID); String balance = String.valueOf(btcAcct.checkBalance(jTextField2.getText())); // jTextField1.setText(balance); JOptionPane.showMessageDialog(null, "Your total balance is " + balance); } // GEN-LAST:event_jButton4ActionPerformed
private void jButton6ActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jButton6ActionPerformed BitcoinAccount btcAcct = new BitcoinAccount(serverID); jTextField3.setText(btcAcct.getBlockNumber()); } // GEN-LAST:event_jButton6ActionPerformed