Package org.pentaho.reporting.engine.classic.core.modules.gui.base

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewFrame


    return report;
  }

  public static void main(final String[] args) throws Exception
  {
    final PreviewFrame d = new PreviewFrame(getReport());
    d.pack();
    d.addWindowListener(new WindowAdapter()
    {
      /**
       * Invoked when a window is in the process of being closed.
       * The close operation can be overridden at this point.
       */
      public void windowClosing(final WindowEvent e)
      {
        System.exit(0);
      }
    });
    d.setVisible(true);
  }
View Full Code Here


    report.setDataFactory(new TableDataFactory
        ("default", new DefaultTableModel()));

    ClassicEngineBoot.getInstance().start();
    PreviewFrame preview = new PreviewFrame(report);
    preview.pack();
    preview.setVisible(true);

  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewFrame

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.