return createTexture(getResource(resname));
Integer iid=(Integer)textures.get(resname); if (iid != null) return iid.intValue(); int id=createTexture(getResource(resname)); textures.put(resname,new Integer(id)); return id;
    static public int  createTexture(String resname)	throws java.io.IOException    {	return createTexture(getResource(resname));    }