OMGraphic og;
    protected void exportArcs1() {        OMGraphic og;        PrintStream out = null;        double lt;        double ln;        float ll[];        int llsize;        int n;        File f = chooseFile(1);        if (arcs == null)            return;        if (f == null)            return;        try {            out = new PrintStream(new FileOutputStream(f));        } catch (IOException e) {            System.out.println(e);            return;        }        n = arcs.size();        for (int i = 0; i < n; i++) {            OMPoly oj = (OMPoly) arcs.getOMGraphicAt(i);            if (oj == null)                continue;            if (!oj.isSelected())                continue;            ll = oj.getLatLonArray();            llsize = ll.length;            boolean closed = true;            out.println(oj.getLinePaint());            if ((ll[0] != ll[llsize - 2]) || (ll[1] != ll[llsize - 1]))                out.print("MetaPolyline: ");            else {                llsize -= 2;                out.print("MetaPolyline: ");            }            out.print(llsize / 2);            Object o = oj.getAppObject();            if (o != null && o instanceof String)                System.out.println(o);            else                out.println();            int k = 0;            while (k < llsize) {                lt = ll[k++];                ln = ll[k++];                out.println(ln + " " + lt);            }        }        out.close();    }