Japser Report viewer is showing behind the main screen.

Hi,

I encountered an issue when I run the following codes:

Line 1- application.updateUI();
Line 2- plugins.jasperPluginRMI.runReport(globals.DB_SERVER_NAME, fileName,null,‘VIEW’, new java.util.HashMap());
Line 3- application.closeFormDialog(WINDOW_POPUP_NAME);

I simply display a report in a modal dialog box. Can I display the report viewer on top of the modal form?

Hi,
Try to close the dialog before the runReport call

This helped. Thanks!