jview
Class JFrameCanvas.Test

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

public static class JFrameCanvas.Test
extends Object

A test class aiming for saving of the image data.


Constructor Summary
JFrameCanvas.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

JFrameCanvas.Test

public JFrameCanvas.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