Hi all,

I'm having a problem with deploying my Applet. I've got everything done and when I run the file from NetBeans, everything works as designed (Image directory is on the local disk). So I've got my HTML file and all my classes. I uploaded them to the Web Directory I will be using and tested the applet. Everything worked as designed, EXCEPT the images didn't load. I'm new to Java as of about 3 days ago, so I'm not sure what I'm doing wrong.

On the local disk, the images are in the "DocumentBase/images" directory. On the Web Directory, I mirrored this setup. Since my CODEBASE is "Classes" on the HTML, I tried to copy the images folder into the Classes folder on the Web Directory. This didn't help either.

Here's a snippet of the code I'm using:
//In public void run()
imgOptions = getImage(getDocumentBase(), "images\\Options.JPG");
//I've also tried using getCodeBase
//imgOptions = getImage(getDocumentBase(), "images\\Options.JPG");

public void paint(Graphics g) {
    //Using absolute/null layout
    g.drawImage(imgOptions, 430, 31, this);
I've ensured that everything is cased correctly and spelled correctly. As noted, when I run from NetBeans or from local disk, it works fine. When I upload everything to the web, I don't get any images. How can I pull these images from the web directory directly?