Java bean for Crystal Reports™

Interface to control Crystal Reports™ by Java applications
Deutsche Version

Unfortunately, printing in Java isn't very nice, yet. Meanwhile, satisfy your customers by printing via Crystal Reports™. As far as your target platform is supported by Crystal Reports™, you may use its advantages. Print nice and easy to build reports from database tables easily!
 
 
Sample

Enter your report parameters and press 'Ok' Sample for Report Parameter Input
 

And this is what you get:

Report Sample


Let's spy a bit how it is done:

  print("ReportName", connectionSpecification, "{tableName.columnName} like '*searchedFragment*'");
  ...
  protected void print(String reportName, ConnectionSpecification connectionSpecification, String whereCondition) {
    Report.exec(reportName, connectionSpecification, isOutputToWindow(), whereCondition);
  }

The Report class will connect to the API for Crystal Reports™ and do the job!
 
 
Free Download
 
Report.zip (V 1.6,  413 kB) Driver for Windows XP/2000/NT/ME/98/95 - last updated 12/27/02
Crpdlls.zip (2.3 MB, optional download) Crystal Reports™ DLLs: Crpaig32.dll, Crpe32.dll, Implode.dll, p2sodbc.dll, Pdsodbc.dll as well as u2fhtml.dll, u2ddisk.dll for HTML output. (More to be found at the Crystal Visual Component Library (VCL) site - check runtime.hlp whether your database needs specific DLLs)

 
More helpful Components

For those who want more: Visit our Open Source initiative "Cameleon OSP" and get our entire framework for developing database applications.