Mark the intersection point of two polygons using swing