this.NUM_THREADS=new Integer(System.getProperty("scheduler.max.threads","128")).intValue();
this.NUM_THREADS=Integer.parseInt(System.getProperty("scheduler.max.threads", "128"));
    public Scheduler() {    	// PropertyPermission not granted if running in an untrusted environment with JNLP.        try {            this.NUM_THREADS=new Integer(System.getProperty("scheduler.max.threads","128")).intValue();        }        catch (SecurityException ex){          //The default value specified above is used.        }    }