jview
Class JViewportCanvas.Test

java.lang.Object
  extended by jview.JViewportCanvas.Test
Enclosing class:
JViewportCanvas

public static class JViewportCanvas.Test
extends Object

A test class aiming for saving of the image data.


Constructor Summary
JViewportCanvas.Test()
           
 
Method Summary
static void main(String[] arg)
          We draw a few shapes and save them to the file given as the command line argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JViewportCanvas.Test

public JViewportCanvas.Test()
Method Detail

main

public static void main(String[] arg)
                 throws Exception
We draw a few shapes and save them to the file given as the command line argument. If a second argument is given, this is passed to the save method as the format string, otherwise 'png' is used.

Throws:
Exception