Resource Loading strategy

I tried to load image from internet by using something like "TextureManager.loadTexture(new URL("http://www…/picture.jpg"),and it worked.But it takes some time to download the image from internet.I'm wondering how can i custom the loading strategy,I mean how can i specify when to load which image,and how can i load a image into the local file system instead of memory?



Can someone please give me some links to tutorials or articles about this problem?Or maybe there already is a free lib for this kind of stuff?

You may need to re-evaluate your approach.



The terra approach is to run threaded tasks to do the background loading. When all resources are available the scene graph is then told to add the spatial.