Hello CR users,
I want to create a java fat client viewer in a Swing form.
I tried the following code:
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open("c:\\test.rpt")
ReportViewerBean viewer = new ReportViewerBean();
viewer.init();
viewer.setReportSource(reportClientDoc.getReportSource());
JFrame f = new JFrame();
f.getContentPane().add(viewer);
f.setVisible(true);
viewer.start();
but error message occurs:
com.crystaldecisions.Utilities.FontFactory.isFontAvailable(Ljava/lang/String;)Z
Is ReportViewerBean the correct class for viewing my report in a JFrame?
Thanks
Otto