Crystal Reports for Java - ReportViewerBean class
I have a Java desktop application and I want to integrate a Crystal Reports viewer in it.
The application is made with SWT and I have integrated the Swing viewer provided by the class com.crystaldecisions.ReportViewer.ReportViewerBean. The strange thing is that only reports with saved data inside are working. The reports made without saving data are not working with this ReportViewerBean.
I need to view reports with no saved data inside them, so my question is:
anyone knows if this ReportViewerBean class works with the reports with no data saved inside them?
I also want to change the connection details as well as the database name, username, password and the report parameter values programmatically. Those are also not working with the ReportViewerBean class.
Please help me.
PS: i can provide the source code if someone needs it.