Class HelloWorld

  • All Implemented Interfaces:
    DemoHandler

    public class HelloWorld
    extends Object
    implements DemoHandler
    A very simple JFreeReport demo. The purpose of this demo is to illustrate the basic steps required to connect a report definition with some data and display a report preview on-screen.

    In this example, the report definition is created in code. It is also possible to read a report definition from an XML file...that is demonstrated elsewhere.

    Author:
    David Gilbert
    • Constructor Detail

      • HelloWorld

        public HelloWorld()
        Creates and displays a simple report.
    • Method Detail

      • executeReport

        protected void executeReport()
      • getDescription

        protected String getDescription()
        Returns a short description of the demo.
        Returns:
        a description of this report.
      • main

        public static void main​(String[] args)
        The starting point for the "Hello World" demo application.
        Parameters:
        args - ignored.