LoginController loginDialog = new LoginController(owner, this);
loginDialog.setVisible(true);
Identity identity = loginDialog.getIdentity();
if (identity != null) {
LaunchWorker task = new LaunchWorker(profile, identity);
ListenableFuture<LaunchedProcess> future = executor.submit(task);
SwingHelper.addErrorDialogCallback(future, owner);
LaunchWatcher watcher = new LaunchWatcher(this, future);
new Thread(watcher).start();
}