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).