Save at least eight (8) full size photos to your disk, the photos should be about 200 x 200 pixels. Each photo should be no more than 4-8 kbytes in jpg format. Points will be deducted for total images more than 50Kb or aspect ratios that are not correct.

  1. Make a simple html file that has these eight (8) photos as the main feature using a Java Slide Show Class of Applet.
  2. You can get a photoalbum.class by searching the web for a Java Slide Show Class of Applet.
  3. Visit this site for a detail understand of the photoalbum.class applet.
  4. Make a headline that says My Java Applet Photo Slide Show.
  5. Please adjust the parameters so that the photos run faster than normal, like 2 second for photo and 3 seconds for transistion. Five seconds for total Picture cycle.
  6. To make the applet so that it can run and be XHTML strict use the <object> tag since the <applet> tag is not allowed in a strict XHTML document. Visit this page and use the third set of code for sample.class of java applet.Also see code below:
    code non IE Browser
    
    <!--[if !IE]>-->
       <object classid="java:photoalbum.class" 
                  type="application/x-java-applet"
                  height="400" width="500" >
    		<param name="developer" value="Demicron (www.demicron.se)" />
    		... other parameters
    		<param name="image11" value="images/operahouse.jpg" />
    <!--<![endif]-->
    
    code for IE Browser
    
        <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    	       height="400" width="500" > 
        	<param name="code" value="photoalbum.class" />
    		<param name="developer" value="Demicron (www.demicron.se)" />
    		... other parameters
    		<param name="image11" value="images/operahouse.jpg" />
        </object>
    
    	
    code non IE Browser
    
    <!--[if !IE]>-->
    	    </object>
    <!--<![endif]-->
    
    
  7. Make an external Style sheet .css file that has the background color and all of the text and anchor tags that is used on your pages defined by the style sheet.
  8. You have now created your first Photo Applet Slide Show for your web site.
  9. See this for a sample of this assignment
  10. Upload your new pages along with your photos to your web space.