コード例 #1
0
  /** Creates a new {@link CreateNewReceivingAddressDialog}. */
  public CreateNewReceivingAddressDialog(
      BitcoinController bitcoinController,
      MultiBitFrame mainFrame,
      ReceiveBitcoinPanel receiveBitcoinPanel) {
    super(
        mainFrame,
        bitcoinController.getLocaliser().getString("createNewReceivingAddressDialog.title"));
    this.bitcoinController = bitcoinController;
    this.controller = this.bitcoinController;
    this.receiveBitcoinPanel = receiveBitcoinPanel;

    initUI();

    createNewReceivingAddressPanel.getCancelButton().requestFocusInWindow();
    applyComponentOrientation(
        ComponentOrientation.getOrientation(controller.getLocaliser().getLocale()));
  }
コード例 #2
0
 public JComboBox getNumberOfAddresses() {
   return createNewReceivingAddressPanel.getNumberOfAddresses();
 }
コード例 #3
0
 public int getNumberOfAddressesToCreate() {
   return createNewReceivingAddressPanel.getNumberOfAddressesToCreate();
 }