org.freehep.graphics2d.example
Class HeadlessExample
java.lang.Object
org.freehep.graphics2d.example.HeadlessExample
public class HeadlessExample
- extends Object
This example shows how to export what you draw
in a panel to any of the supported vector and bitmap formats
without drawing it on the screen.
Instead of YourPanel you should use your own panel/component.
The output formats available depend on the jar files
you add to the CLASSPATH.
This example (or your application) solely depends
on the ExportDialog class and the VectorGraphics
class (the latter only if you wish to use special
methods from this class in the paint methods).
- Version:
- $Id: src/main/examples/HeadlessExample.java e31519a485cd 2006/12/07 15:42:14 duns $
- Author:
- Mark Donszelmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeadlessExample
public HeadlessExample()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2014. All rights reserved.