compiler errors so far are
MyPoly7A.java [47:1] cannot resolve symbol
symbol : constructor BufferedImage (int[],int[],int,int)
location: class java.awt.image.BufferedImage
BufferedImage buffImage = new BufferedImage ( xy [ 0 ], xy [ 1 ], 5, BufferedImage.TYPE_INT_RGB );
Let's look at the compilerwarning (cannot resolv symbol: constructor).
There is a constructor:
but the compiler looks for:
constructor BufferedImage (int[],int[],int,int)
For the first parameter, you use:
which is defined like this:
The first element xy[0]of a two-dimensional array xy[][] is the first array.
for instance: