try { String temp = getFirstAttrbuteByTagName(new String[] {"options", "program", "file"}); ; if (temp.compareTo("-1") == 0){ return ""; } else{ if (temp.length() == 0){ return null; } 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_program_file"); if (temp.compareTo("-1") == 0) { return ""; } else { if (temp.length() == 0) { return null; } 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 getOpenProgram() {        try {            String temp = getFirstAttrbuteByTagName(new String[] {"options",                "program", "file"}); ;        	if (temp.compareTo("-1") == 0){        		return "";        	}        	else{        		if (temp.length() == 0){        			return null;        		}        		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 "";        }	}