mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 06:35:17 +01:00
WalletTemplate: expose MainWindow in Main
This commit is contained in:
parent
7d7ba9c8ef
commit
cd337504b7
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,7 @@ public class Main extends Application {
|
|||
private Pane mainUI;
|
||||
public MainController controller;
|
||||
public NotificationBarPane notificationBar;
|
||||
public Stage mainWindow;
|
||||
|
||||
@Override
|
||||
public void start(Stage mainWindow) throws Exception {
|
||||
|
@ -50,6 +51,7 @@ public class Main extends Application {
|
|||
}
|
||||
|
||||
private void realStart(Stage mainWindow) throws IOException {
|
||||
this.mainWindow = mainWindow;
|
||||
instance = this;
|
||||
// Show the crash dialog for any exceptions that we don't handle and that hit the main loop.
|
||||
GuiUtils.handleCrashesOnThisThread();
|
||||
|
|
Loading…
Add table
Reference in a new issue