jview
Class JViewportCanvas.Test
java.lang.Object
jview.JViewportCanvas.Test
- Enclosing class:
- JViewportCanvas
public static class JViewportCanvas.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 |
JViewportCanvas.Test
public JViewportCanvas.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