if (debug != null) { if (result==null) { debug.println("   - Not luck in loading resource. Not found."); } }
    static Object classLoaderHelper(String name, String codebase,        boolean useDefaultCodebase, boolean isForName) {        String msg = (isForName ? "forName" : "getResourceAsStream");        Object result;        // "default" equivalent to "not set".        if ("default".equals(codebase)) {            codebase = null;        }        //First, try the thread context class loader        result = opHelperWithReporting(name, null, isForName, msg);        // Second try the default codebase (if enabled)        if (result==null && (useDefaultCodebase) && (getTargetClassBase() != null)) {            result = opHelperWithReporting(name, getTargetClassBase(), isForName, msg);        }        //Last, try the class loader for the suggested codebase        if (result==null && codebase != null) {            result = opHelperWithReporting(name, codebase, isForName, msg);            return result;        }        return result;    }