Displaying an image created at runtime.
I am creating an image at run time (a bar code). How do I display this?
To test a static image I placed the bar code image in the src/mimes/components/packages directory, then compiled that application and it worked perfectly.
I then created the bar code image at run time and wrote it to the same src/mimes/components/packages directory as above. The file was succesfully placed there, but the application does not display the image. If the application is then recompiled with a a hard coded value of the previous bar code in the getImageImageSource method it works.
I'm guessing that the run time repository for images is different to the design time one; is this is the case where should I be writing the image file and what should I return from the getImageImageSource method?