@@ -0,0 +1,633 @@
+import java.awt.*;%0Aimport java.util.ArrayList;%0A%0A%0Apublic class Patch %7B%0A    private ArrayList%3CPoint%3E data;%0A%0A    public Patch() %7B%0A        data = new ArrayList%3CPoint%3E();%0A    %7D%0A%0A    public void addData(Point data) %7B%0A        this.data.add(data);%0A    %7D%0A%0A    public Polygon get_Polygon() %7B%0A        Polygon p = new Polygon();%0A%0A        for (int i = 0; i %3C data.size(); i++) %7B%0A            p.addPoint(data.get(i).x, data.get(i).y);%0A        %7D%0A%0A        return p;%0A    %7D%0A%0A    public String toString() %7B%0A        String ret = %22%22;%0A%0A        for (int i = 0; i %3C data.size(); i++) %7B%0A            ret += data + %22 ; %22;%0A        %7D%0A%0A        return ret;%0A    %7D%0A%7D%0A

Create Patch.java