I need the ability to download an image to a file and display to the user.
I've worked on this a long, long time ago, got stuck, and haven't worked on it since. I'd like to come back and try to get it working.
What I need is to store the URI of the image into a variable, download the image to a file, and display it in a skin window.
It doesn't strictly have to be done this way, but everything needs to be done at runtime, not pre-compiled. The reason is if I decide to prepackage the images, the size of the bytecode will explode to an unacceptable size. Probably a gigabyte or more.
I remember reading about a mechanism that downloads the resources at runtime, decreasing the size of the bytecode, but it still requires me to go back and manually put in the images. The optimal situation is being able to write the program so when a new subclass is derived from another, all I have to do is give it a new URL and the rest will be taken care of.
Any help or links to tutorials for getting this done will be much appreciated.