This example demonstrates how Orbiter2 can be used with a full-color orbiting graphic image.
Use WinZip to decompress the orbiter2.zip archive. Place the following files from the archive into the same directory with the HTML file of the page which is to display the applet. Be sure to spell and capitalize the file names exactly as shown below: Orbiter2.class o2Matrix.class o2Pixel.class o2Vector.class earth2.gif stars.gif flags.gif To display this example on your web page, you must insert the following lines of text in the HTML file for the page: <APPLET CODE="Orbiter2.class" WIDTH=260 HEIGHT=195> <PARAM NAME="background" VALUE="stars.gif"> <PARAM NAME="orbitImage" VALUE="flags.gif"> <PARAM NAME="planet" VALUE="earth2.gif"> <PARAM NAME="text_color_back" VALUE="00c000"> <PARAM NAME="text_color_front" VALUE="polychrome"> <PARAM NAME="tilt" VALUE="35"> </APPLET> You will need to use an image editor to create an orbiting graphic of your own. Refer to the orbitImage documentation for the specifications of this graphic. You might also want to change other aspects of the applet to match the style of your page. For example, you might want to use a different orbit angle or change the speed of the orbiting graphic. Refer to the Orbiter2 FAQ for complete instructions. This is just one example for using Orbiter2. Refer to the following examples for other uses: Using imported fonts not available in Java |
![]() Applet Gallery |
![]() Send e-mail to Ed Hobbs |
![]() Home Page |
![]() Help |