Skip to Content
0
Former Member
Oct 20, 2007 at 06:54 AM

Trouble Removing Watermark

52 Views

I found all the instructions on how to remove the watermark from the report viewer. I have a java application the was created outside CR4E and Eclipse. I added the below code to my JRCViewReport.java file. But I still see the watermark at the bottom of my reports. Am I doing something wrong?

package reportviewer;

/**

  • Applies to: XI Release 2.

  • Date Created: October 2005.

  • Description: This sample demonstrates how to launch a report in the thick-client

  • ReportViewerBean Java Viewer.

  • Author: CW.

*/

//Crystal Java Reporting Component (JRC) imports.

import com.crystaldecisions.reports.sdk.*;

import com.crystaldecisions.sdk.occa.report.lib.*;

import com.crystaldecisions.reports.common.engine.ConfigurationManager;

import com.crystaldecisions.reports.common.engine.Engine;

//Java Imports.

import javax.swing.*;

public class JRCViewReport {

public static void launchApplication(String strPath) {

try {

ConfigurationManager conf = Engine.getDefault ().getConfigurationManager();

conf.setProperty(ConfigurationManager.CONFIG_KEYCODE, "MyKeyCodeFromJarFile");