Show 

Home > Working with APIs > JReport Result Viewer Bean > Programming with the Result Viewer Bean > Using the Result Viewer Bean > Setting the report communicator

Setting the report communicator

The method SetReportCommunicator(Communicator) is used to set the report communicator.

Parameter

You are recommended to use getReportCommunicator() in JReport Engine Bean, and use the method setCommunicator() in JReport Result Viewer Bean. That is,

resultViewerBean.setCommunicator(engineBean.getReportCommunicator());