Example usage for org.jfree.util PrintStreamLogTarget PrintStreamLogTarget

List of usage examples for org.jfree.util PrintStreamLogTarget PrintStreamLogTarget

Introduction

In this page you can find the example usage for org.jfree.util PrintStreamLogTarget PrintStreamLogTarget.

Prototype

public PrintStreamLogTarget(final PrintStream printStream) 

Source Link

Document

The default constructor.

Usage

From source file:org.jfree.chart.demo.MouseZoomDemo.java

/**
 * Starting point for the demonstration application.
 *
 * @param args  ignored.//from w  ww .ja v  a 2  s .com
 */
public static void main(final String[] args) {

    Log.getInstance().addTarget(new PrintStreamLogTarget(System.out));
    final MouseZoomDemo demo = new MouseZoomDemo("Mouse Zoom Demo");
    demo.pack();
    RefineryUtilities.centerFrameOnScreen(demo);
    demo.setVisible(true);

}