jview
Class JFrameCanvas.Test
java.lang.Object
jview.JFrameCanvas.Test
- Enclosing class:
- JFrameCanvas
public static class JFrameCanvas.Test
- extends Object
A test class aiming for saving of the image data.
|
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 |
JFrameCanvas.Test
public JFrameCanvas.Test()
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