init();
    protected void init() {        try {            String temp = getFirstAttrbuteByTagName(new String[] {"options",                "location", "x"});            if (temp.length() != 0) {                legal = true;                int mainX = Integer.parseInt(getFirstAttrbuteByTagName(new                    String[] {"options", "location", "x"}));                int mainY = Integer.parseInt(getFirstAttrbuteByTagName(new                    String[] {"options", "location", "y"}));                mainXY = new Point(mainX, mainY);                int mainWidth = Integer.parseInt(getFirstAttrbuteByTagName(new                    String[] {"options", "location", "width"}));                int mainHeight = Integer.parseInt(getFirstAttrbuteByTagName(new                    String[] {"options", "location", "height"}));                mainDimension = new Dimension(mainWidth, mainHeight);            }            String xmlTest = getFirstAttrbuteByTagName(new String[] {"options",                "columns", "download", "column0", "width"});            if (xmlTest.length() == 0) {                throw new Exception(                    "Properties.xml hat altes Format. Wird neu erstellt.");            }            downloadWidths = new int[10];            downloadWidths[0] = Integer.parseInt(xmlTest);            downloadWidths[1] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column1", "width"}));            downloadWidths[2] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column2", "width"}));            downloadWidths[3] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column3", "width"}));            downloadWidths[4] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column4", "width"}));            downloadWidths[5] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column5", "width"}));            downloadWidths[6] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column6", "width"}));            downloadWidths[7] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column7", "width"}));            downloadWidths[8] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column8", "width"}));            downloadWidths[9] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column9", "width"}));            uploadWidths = new int[7];            uploadWidths[0] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column0", "width"}));            uploadWidths[1] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column1", "width"}));            uploadWidths[2] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column2", "width"}));            uploadWidths[3] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column3", "width"}));            uploadWidths[4] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column4", "width"}));            uploadWidths[5] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column5", "width"}));            uploadWidths[6] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column6", "width"}));            serverWidths = new int[5];            serverWidths[0] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "server", "column0", "width"}));            serverWidths[1] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "server", "column1", "width"}));            serverWidths[2] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "server", "column2", "width"}));            serverWidths[3] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "server", "column3", "width"}));            xmlTest = getFirstAttrbuteByTagName(new String[] {"options",                                                "columns",                                                "server", "column4", "width"});            if (xmlTest.length() == 0) {                throw new Exception(                    "Properties.xml hat altes Format. Wird neu erstellt.");            }            serverWidths[4] = Integer.parseInt(xmlTest);            shareWidths = new int[3];            shareWidths[0] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "share", "column0", "width"}));            shareWidths[1] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "share", "column1", "width"}));            shareWidths[2] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "share", "column2", "width"}));            downloadVisibilities = new boolean[10];            downloadVisibilities[0] = true;            xmlTest = getFirstAttrbuteByTagName(new String[] {"options",                                                "columns", "download",                                                "column1", "visibility"});            if (xmlTest.length() == 0) {                throw new Exception(                    "Properties.xml hat altes Format. Wird neu erstellt.");            }            downloadVisibilities[1] = new Boolean(xmlTest).booleanValue();            downloadVisibilities[2] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column2",                "visibility"})).booleanValue();            downloadVisibilities[3] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column3",                "visibility"})).booleanValue();            downloadVisibilities[4] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column4",                "visibility"})).booleanValue();            downloadVisibilities[5] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column5",                "visibility"})).booleanValue();            downloadVisibilities[6] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column6",                "visibility"})).booleanValue();            downloadVisibilities[7] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column7",                "visibility"})).booleanValue();            downloadVisibilities[8] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column8",                "visibility"})).booleanValue();            downloadVisibilities[9] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column9",                "visibility"})).booleanValue();            uploadVisibilities = new boolean[7];            uploadVisibilities[0] = true;            uploadVisibilities[1] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column1",                "visibility"})).booleanValue();            uploadVisibilities[2] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column2",                "visibility"})).booleanValue();            uploadVisibilities[3] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column3",                "visibility"})).booleanValue();            uploadVisibilities[4] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column4",                "visibility"})).booleanValue();            uploadVisibilities[5] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column5",                "visibility"})).booleanValue();            uploadVisibilities[6] = new Boolean(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column6",                "visibility"})).booleanValue();            downloadIndex = new int[10];            xmlTest = getFirstAttrbuteByTagName(new String[] {"options",                                                "columns", "download",                                                "column0", "index"});            if (xmlTest.length() == 0) {                throw new Exception(                    "Properties.xml hat altes Format. Wird neu erstellt.");            }            downloadIndex[0] = Integer.parseInt(xmlTest);            downloadIndex[1] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column1", "index"}));            downloadIndex[2] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column2", "index"}));            downloadIndex[3] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column3", "index"}));            downloadIndex[4] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column4", "index"}));            downloadIndex[5] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column5", "index"}));            downloadIndex[6] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column6", "index"}));            downloadIndex[7] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column7", "index"}));            downloadIndex[8] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column8", "index"}));            downloadIndex[9] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "download", "column9", "index"}));            uploadIndex = new int[7];            uploadIndex[0] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column0", "index"}));            uploadIndex[1] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column1", "index"}));            uploadIndex[2] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column2", "index"}));            uploadIndex[3] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column3", "index"}));            uploadIndex[4] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column4", "index"}));            uploadIndex[5] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column5", "index"}));            uploadIndex[6] = Integer.parseInt(getFirstAttrbuteByTagName(new                String[] {"options", "columns", "upload", "column6", "index"}));            boolean use = new Boolean(getFirstAttrbuteByTagName(new String[] {                "options", "proxy", "use"})).booleanValue();            String host = getFirstAttrbuteByTagName(new String[] {"options",                "proxy", "host"});            int port;            try {                port = Integer.parseInt(getFirstAttrbuteByTagName(new String[] {                    "options", "proxy", "port"}));            }            catch (Exception e) {                port = -1;            }            String userpass = getFirstAttrbuteByTagName(new String[] {"options",                "proxy", "userpass"});            proxySettings = new ProxySettings(use, host, port, userpass);        }        catch (Exception e) {            if (logger.isEnabledFor(Level.ERROR)) {                logger.error(PROPERTIES_ERROR_MESSAGE, e);            }            if (firstReadError == true) {                AppleJuiceDialog.restorePropertiesXml();                AppleJuiceDialog.showInformation(PROPERTIES_ERROR);                firstReadError = false;                super.reload(this.path);            }            else {                AppleJuiceDialog.rewriteProperties = true;                AppleJuiceDialog.closeWithErrormessage(PROPERTIES_ERROR, false);            }        }    }