try { String temp = getFirstAttrbuteByTagName(new String[] {"options", "browser", "file"}); ; if (temp == null) { return ""; } else { return temp; } } catch (Exception e) { AppleJuiceDialog.rewriteProperties = true; if (logger.isEnabledFor(Level.ERROR)) { logger.error(PROPERTIES_ERROR_MESSAGE, e); } AppleJuiceDialog.closeWithErrormessage(PROPERTIES_ERROR, false); return ""; } }
try { String temp = propertyHandler.get("options_browser_file"); if (temp == null) { return ""; } else { return temp; } } catch (Exception e) { AppleJuiceDialog.rewriteProperties = true; if (logger.isEnabledFor(Level.ERROR)) { logger.error(PROPERTIES_ERROR_MESSAGE, e); } AppleJuiceDialog.closeWithErrormessage(PROPERTIES_ERROR, false); return ""; } }
    public String getStandardBrowser() {        try {            String temp = getFirstAttrbuteByTagName(new String[] {"options",                "browser", "file"}); ;            if (temp == null) {                return "";            }            else {                return temp;            }        }        catch (Exception e) {            AppleJuiceDialog.rewriteProperties = true;            if (logger.isEnabledFor(Level.ERROR)) {                logger.error(PROPERTIES_ERROR_MESSAGE, e);            }            AppleJuiceDialog.closeWithErrormessage(PROPERTIES_ERROR, false);            return "";        }    }