Practice pieces


Drawing

Ok, so here's the simplest way of doing this:

Analyst.java
IO.java
Storage.java


 

Can you finish this off by:

1) Getting the application to resize automatically when the file is read in.

2) Getting the application to read in this file with multiple lines making multiple shapes (line 1 is the x coordinates for shape 1, line 2 the y coordinates, line 3 the x coordinates for shape 2, etc.): shapes.txt.