thanks this works. I have added some code so that there is playing an audio file whem the image is loaded.
But now I want the complete applet in the map PictureViewer, In that map is the file PictureViewer.html, a map called bin with the class files in it. , a map called image with the image in it and a map called sound with the sound file in it.
To get that working I tried this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PictureViewer Applet</title>
</head>
<body>
<applet code= "PictureViewer.class" codebase="/bin" width="1020" height="900">
<param name="pictureName" value="image/Train.gif" />
<param name="audioName" value="sound/Train.au" />
</applet>
</body>
</html>
I have also tried \ in the path to the files, but it doesn't work, can somebody help me?
Oh, with all the files in one mape it works, I have tried that.
thanks keffie91