/** 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())); }
public JComboBox getNumberOfAddresses() { return createNewReceivingAddressPanel.getNumberOfAddresses(); }
public int getNumberOfAddressesToCreate() { return createNewReceivingAddressPanel.getNumberOfAddressesToCreate(); }