// Location nn = mapInstance.nearestNeighbor(x, y);
// if (! nn.getDocument().equals(makeRed)) continue;
// gc.drawPoint(x, y);
// }
// }
gc.dispose();
// Location mpp = getLocation(mapInstance, "MapPerProject");
// Location dda = getLocation(mapInstance, "ColorDropDownAction");
// System.out.println("Distance to MapPerProject: " + Math.sqrt(Math.pow(575 - mpp.px, 2) + Math.pow(500 - mpp.py, 2)));
// System.out.println("Distance to ColorDropDownAction: " + Math.sqrt(Math.pow(575 - dda.px, 2) + Math.pow(500 - dda.py, 2)));