Class GanttDemo1

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.jfree.ui.ApplicationFrame
org.jfree.chart.demo.GanttDemo1
All Implemented Interfaces:
WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class GanttDemo1
extends org.jfree.ui.ApplicationFrame
A simple demonstration application showing how to create a Gantt chart.

This demo is intended to show the conceptual approach rather than being a polished implementation.

See Also:
Serialized Form
  • Constructor Details

    • GanttDemo1

      public GanttDemo1​(String title)
      Creates a new demo.
      Parameters:
      title - the frame title.
  • Method Details

    • createDataset

      public static IntervalCategoryDataset createDataset()
      Creates a sample dataset for a Gantt chart.
      Returns:
      The dataset.
    • main

      public static void main​(String[] args)
      Starting point for the demonstration application.
      Parameters:
      args - ignored.