logo_michael-thomas.jpg (3143 bytes)

Chapter 3
Using Java on Your Pages 

Click here to go back to the courses home page.

Java Programs

listing1.html of Ch 3 Hey, it's Java - HTML code to add an Applet

listing2.html of Ch 3 Hey, it's Java - HTML code to show message if Java is not enabled.

IE 5.5 - To my knowledge you can not disable Java in this version.  Older versions of IE allowed it.

NS 4.7 - To disable/enable Java choose: Edit, Preferences, Advanced, then select or deselect Java.  (Note: you can also enable/disable JavaScript).

listing3.html of Ch 3 Hey, it's Java - HTML code to Right Align an applet.

listing4.html of Ch 3 Hey, it's Java - HTML code (HSPACE & VSPACE) to position an applet.

listing5.html of Ch 3 Tiny Scroller - HTML code to pass parameters to an applet.

You can download tinyScroller from: http://www.onewolf.com/scoobysnacks/index.htm, then click on the words at the bottom of the screen "One Wolf Java".  Next click on "tinyScroller".  Click on download to download a zip file.  In the zip file is the .java source, .class, html, and a file "tinyScroller.txt" that has the instructions on how to interface with the applet from HTML.