A process reads data and show the result with JasperReports as a preview. Then the user is asked in a dialog whether the data should be recorded according to the protocol. Since the dialog puts the focus back on the solution, the report is in the background.
Is there a way to bring the report back to the foreground or to stop the program flow when outputting the report and show the dialog after closing the report preview?