}
});
}
private void openDialog() {
final TempFolderConsole console = new TempFolderConsole();
KongaDialog dialog = new KongaDialog(UiUtils.getActiveWindow(), "Temp Folder Console") {
@Override
protected void onDialogOpened() {
super.onDialogOpened();
console.update();
}
};
dialog.standardLayout(console, KongaDialog.CLOSE_ONLY);
console.setWaitService(new WindowWaitService(dialog));
dialog.setResizable(false);
dialog.setLocationRelativeTo(null);
dialog.setCloseButtonAsDefault();
dialog.setVisible(true);
}