$ 0 0 the line pg[i] = new Polygon(coord); throws and exception saying TypeInitializationException unhandled