Java Applets Code

There are three java applets to select from: a clock, a calculator, and a spreadsheet. The code required for adding them into your web pages is listed below.

CODE FOR THE CLOCK ****************************** <APPLET codebase="http://web.mit.edu/15.561/www/java/Clock" code="Clock2.class" width=170 height=150> <PARAM name=fgcolor1 value="ffff00"> <PARAM name=fgcolor2 value="ff0000"> <PARAM name=bgcolor value="0000ff"> </APPLET> CODE FOR THE CALCULATOR ************************* <APPLET codebase="http://web.mit.edu/15.561/www/java/Calculator" code="AppletButton.class" width=350 height=50> <PARAM name=windowClass value="Calculator"> <PARAM name=windowTitle value="Pocket Calculator"> <PARAM name=buttonText value="Press here to start Calculator"> </APPLET> CODE FOR THE SPREADSHEET ************************* <APPLET codebase="http://web.mit.edu/15.561/www/java/SpreadSheet" code="SpreadSheet.class" width=320 height=120> <PARAM name=rows value="3"> <PARAM name=columns value="3"> <PARAM name=b1 value="v456"> <PARAM name=a1 value="v123"> <PARAM name=c1 value="fA1*B1"> <PARAM name=b2 value="v100"> <PARAM name=a2 value="v200"> <PARAM name=c2 value="fA2+B2"> </APPLET>