While viewing a report, if you want to show it in a frame that is different to your application window, you can call the method setViewInNewFrame(true/false) in JRDirectViewer or JRRunViewer. True means that the report will be shown in a new frame.