01: /*
02: * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.ubt.report.app;
06:
07: import net.sf.jasperreports.view.JasperDesignViewer;
08: import net.sf.jasperreports.engine.JRException;
09:
10: import java.util.Date;
11:
12: /**
13: * Pass the jasper file to display report design
14: */
15: public class UBTDesignReports {
16: public static void main(String[] args) throws JRException {
17: JasperDesignViewer.viewReportDesign(args[0], true);
18: }
19:
20: }
|