for (int i=0; i<standardTypes.length; i++) { String pname = standardTypes[i]; if (prototypes.get (pname) == null) { Prototype proto = new Prototype (pname, app); registerPrototype (pname, new File (appDir, pname), proto); } }
    public void createPrototypes () {        // loop through directories and create prototypes        checkFiles ();        // check if standard prototypes have been created        // if not, create them.        for (int i=0; i<standardTypes.length; i++) {            String pname = standardTypes[i];            if (prototypes.get (pname) == null) {                Prototype proto = new Prototype (pname, app);                registerPrototype (pname, new File (appDir, pname), proto);            }        }    }