Problems loading images from a website.
Posted on 2004-09-12
Hi there, I am trying to display some images in a Japplet from a website. I load them fine the first time, but if I refresh the JApplet, then some of the images don't reload, and when I display them I get a broken link. Has anyone heard of this before? Does anyone know if you can display an image from a .jar file in html? If I could do that I am sure that would solve all my problems. I am using:
images_ac.append("<img src=\"" +mEmoticonData_t[i].mFileName_ac.toString()+">");
to load the images and putting it into a JEditPane which is in HTML mode. Any suggestions? Thanks.