org.freehep.graphics2d.example
Class ExportDialogExample
java.lang.Object
org.freehep.graphics2d.example.ExportDialogExample
public class ExportDialogExample
- extends Object
This example shows how to add a standard ExportDialog
to your application and allow it to export what you draw
in panel to any of the supported vector and bitmap formats.
Instead of MyPanel 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).
- Author:
- Mark Donszelmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExportDialogExample
public ExportDialogExample()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2014. All rights reserved.