Enumeration e = layers.elements();
this.bounds = new Bounds();  Enumeration e = layers.elements();
    public Bounds getBounds() {        Enumeration e = layers.elements();        while (e.hasMoreElements()) {            DXFLayer layer = (DXFLayer) e.nextElement();            Bounds b = layer.getBounds();            if (b.isValid()) {                bounds.addToBounds(b);            }        }        return bounds;    }