HOME
  ABOUT
  PRODUCTS
  FREEDOM 2000
  SPECS
  SOFTWARE
  Overview
  Remote
  Direct
  Applet
  DOCS
  IMAGES
  DEMOS
  CONTACT US
  ORDER

Freedom Applet Documentation and Download


Freedom Applet Download

The Freedom Applet software can be downloaded by clicking on the link below. Once the file has downloaded, unzip the files into a temporary directory. Place the html code (shown below) found in the FreedomApplet.html file in you web page where you would like the applet to appear. You also must place the other files you unzipped in the same directory as the web page containing the applet.

Also, be sure to check out our applet images page for a look at how you can customize your applet to match your webpage. If you encounter any trouble while setting up the Freedom Applet, please contact us at tech@mill-shaf.com.

Freedom Applet Documentation

Applet Basics:

Users are able to control the mount via an applet that appears on a web page in their browser. You will have to place the applet in an existing web page or create a new one for it. The sample page FreedomApplet.html is included to serve as an example or to be used with minor modifications. The settings in the applet can be changed by editing the <param> tags in the html page. The information you provide in these tags allows you to change the settings and appearance of the applet. The applet-related code from FreedomApplet.html is shown below. You will need to set the "hostserver" parameter to your server's IP address. You should not change the height or width of the applet unless you hide the speed and step controls. If you hide these controls then you can change the width from 200 to 120.

<APPLET code="FreedomApplet.class" height=140 width=200>
        <PARAM NAME="hostserver" VALUE="192.168.0.2">
        <PARAM NAME="javaport" VALUE="3456">
        <PARAM NAME="showspeedstep" VALUE="Y">
        <PARAM NAME="defaultstep" VALUE="90">
        <PARAM NAME="msgfontsize" VALUE="12">
        <PARAM NAME="speedstepfontsize" VALUE="12">
        <PARAM NAME="bgcolor" VALUE="12">
        <PARAM NAME="fgcolor" VALUE="1">
</APPLET>


Applet Options:

The default applet has the following features that can be changed:
  • Images for diagonal arrow, straight arrow, and center tile. (gif format)
  • Display of speed control and step size options (show/hide)
  • Set default movement/step size
  • Background color of applet
  • Text color on Applet
  • Message text size
  • Speed control and step text size
Instructions for changing each of these features is found below.

How to change to Arrow Images:

The arrow images of the applet are small .gif files found in the "freedom_images" directory. They can be edited by any graphics program capable of editing .gif files to produce customized applets. The same images are used for all 4 diagonal arrows--upper left, upper right, lower left, and lower right. The normal, mouseover, and mousedown images for these arrows are included with the applet, and are rotated 90 degrees by the applet to form the arrows in all 4 corners.

Similarly, the same images are used for the up, right, left, and down arrows. There is also a unique image for the middle of the applet, in between the arrows. For some examples of how you can change the appearance of your applet, check out our applet images page.

How to display/hide the speed control and step size area:

By default the speed control and step size boxes are shown on the applet. If you choose you may hide them and set the default movement speed and movement size to execute when the user clicks on one of the buttons. To show the speed and step size controls you should leave unchanged the following line of code in your html file:

<PARAM NAME="showspeedstep" VALUE="Y">

If you want to hide the controls from the user then change VALUE="Y" to VALUE="N".

How to set the default step/movement size:

The default step/movement size is used to determine how many degrees the mount moves in each time the user clicks a button. If the user is shown the controls for speed and step size then they change the value in the applet.

<PARAM NAME="defaultstep" VALUE="30">

How to set the background color of the applet:

You may change the background color of the applet to one of the 13 Java colors listed below. You need to use the numeric value of the color from the below list in the <param> tag.

<PARAM NAME="bgcolor" VALUE="12">

Colors Available:

        1 - black
        2 - blue
        3 - cyan
        4 - darkGray
        5 - gray
        6 - green
        7 - lightGray
        8 - magenta
        9 - orange
        10 - pink
        11 - red
        12 - white
        13 - yellow

How to set the text color of the Applet:

You can set the text color used on the applet to one of the 13 Java colors listed above under the "How to set the background color" section.

<PARAM NAME="fgcolor" VALUE="1">

How to set the message text size:

This message text is what the user sees on the bottom of the applet it will say something such as: "Have control for: 30 s". You may change the size of this text to meet your needs by changing the VALUE="12" part of the <param> tag. Smaller values yield smaller fonts and larger values yield larger fonts.

<PARAM NAME="msgfontsize" VALUE="12">

How to set the step size and speed control text size:

You can change the size of the text for the step size and speed controls by changing the value in the below <param> tag. The VALUE="12" generates a font size of 12 on the applet.

<PARAM NAME="speedstepfontsize" VALUE="12">






Info -- Tech Help -- Webmaster -- Contact Us
©1999 Mill-Shaf Technologies, Inc. All rights reserverd.