smartfrog.setTimeout(new Long(timeout));
if(timeout>0) { smartfrog.setTimeout(new Long(timeout)); } else {  smartfrog.setTimeout(null); }
    public void setTimeout(long timeout) {        smartfrog.setTimeout(new Long(timeout));    }