I wrote an applet to be run in a browser to display images but im not sure were to put my jpgs so it can find the pictures. Heres my code and my html:

Java Code:
package Final;

import java.util.*;
import java.applet.*;
import java.awt.*;

public class FFinal extends Applet implements Runnable {
  MediaTracker tracker;
  int tracked;
  int frame_rate = 5;
  int current_img = 0;
  Thread motor;
  static final int MAXIMAGES = 10;
  Image img[] = new Image[MAXIMAGES];
  String name[] = new String[MAXIMAGES];
public void init() {
    		tracker = new MediaTracker(this);
   		 StringTokenizer st = new StringTokenizer(getParameter("img"), "+");
    		while(st.hasMoreTokens() && tracked <= MAXIMAGES) {
      			name[tracked] = st.nextToken( );
      			img[tracked] = getImage(getDocumentBase(), name[tracked] + ".jpeg");
      			tracker.addImage(img[tracked], tracked);
      			tracked++;
    		 }
  	}

  	public void paint(Graphics g) {
    		String loaded = "";
    		int donecount = 0;
    		for(int i=0; i<tracked; i++) {
      			if (tracker.checkID(i, true)) {
       				donecount++;
       				 loaded += name[i] + " ";
      			}
    		}
    		Dimension d = size();
    		int w = d.width;
    		int h = d.height;
    
    		if (donecount == tracked) {
      			frame_rate = 1;
      			Image i = img[current_img++];
      			int iw = i.getWidth(null);
      			int ih = i.getHeight(null);
      			g.drawImage(i, (w - iw)/2, (h - ih)/2, null);
      			if (current_img >= tracked)
        				current_img = 0;
    			} 
    		else {	int x = w * donecount / tracked;
      			g.setColor(Color.black);
      			g.fillRect(0, h/3, x, 16);
      			g.setColor(Color.white);
      			g.fillRect(x, h/3, w-x, 16);
      			g.setColor(Color.black);
      			g.drawString(loaded, 10, h/2);
    			}
  	}
  	public void start() {
    		motor = new Thread(this);
    		motor.start( );
  	}
  	public void stop() {
    		motor.stop();
  	}
  	public void run() {
    		motor.setPriority(Thread.MIN_PRIORITY);
    		while (true) {
      			repaint();
      			try { Thread.sleep(1000/frame_rate);
      			      } catch (InterruptedException e) { }
    		}
  	}       
}
Java Code:
<html>

<applet
  codebase = "."
  code     = "Final.FFinal.class"
  name     = "TestApplet"
  width    = "400"
  height   = "300"
  hspace   = "0"
  vspace   = "0"
  align    = "middle"
>
<param name="img"
 value="HW.jpg">

</applet>

</html>